Re: Problem in checking for UTF locale
Il Fri, Mar 22, 2002 at 08:17:21PM +0300, Mikhail Sobolev ha scritto:
> > I made some more test and I think that the correct way to test if a
> > locale is installed is to use
> >
> > LC_ALL=en_IN locale charmap
> This would be too strong.
>
> > instead of LANG=en_IN locale charmap
> And this maybe insufficient, if you have LC_{ALL,CTYPE} set in your environment.
>
> IMHO,
>
> LC_CTYPE=en_IN locale charmap
>
> would be the most appropriate.
I already tried, but the result is wrong:
$ env | grep ^L
LC_ALL=it_IT@euro
LANG=it_IT@euro
LOGNAME=giuseppe
$ LC_CTYPE=en_IN locale charmap
ISO-8859-15
Bye,
Giuseppe
Reply to: