Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: proper UTF-8 support under OSX
- X-seq: zsh-users 14514
- From: Vincent Lefevre <vincent@xxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: proper UTF-8 support under OSX
- Date: Fri, 23 Oct 2009 15:30:27 +0200
- In-reply-to: <1566750343-BeMail@laptop>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users@xxxxxxx>
- List-post: <mailto:zsh-users@zsh.org>
- Mail-followup-to: zsh-users@xxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20091023120100.GC14613@xxxxxxxxxxxxxxxxxxx> <1566750343-BeMail@laptop>
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
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).
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <http://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Arénaire project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author