Re: Problem in checking for UTF locale
Sorry, I was not just considering about all possibilities.
Of course, LC_ALL is the right way (and it's, as far as I understand, is
already in CVS).
--
Misha
On Fri, Mar 22, 2002 at 09:45:35PM +0100, Giuseppe Sacco wrote:
> 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
>
>
> --
> To UNSUBSCRIBE, email to debian-boot-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
--
To UNSUBSCRIBE, email to debian-boot-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: