Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: proper UTF-8 support under OSX



> On 2009-10-23 14:22:18 +0200, FranÃois Revol wrote:
> > > Not necessarily. Unfortunately the locale names are platform
> > > dependent (well, in particular under Linux), and the same locale
> > > name can have a different charmap on different platforms.
> >
> > That's what the LC_CTYPE env var is supposed to indicate, AFAIK.
> > For ex,
> > LC_LANG=fr_FR
> > but
> > LC_CTYPE=fr_FR.UTF-8
>
> No. fr_FR.UTF-8 doesn't necessarily exist. For instance, under Maemo
> Linux, one needs to use LC_CTYPE=fr_FR, which is UTF-8, but under
> most
> Linux-based platforms, fr_FR is ISO-8859-1, so that the charmap is

This looks braindead to me, couldn't they just specify it to always be
canonical ?

> incorrect after a SSH, unless one uses some tricks (I use a
> LC_CHARMAP
> variable in order to update the LC_CTYPE from my .zshenv if need be).

Note however than charmap != encoding !!

FranÃois.



Messages sorted by: Reverse Date, Date, Thread, Author