On 2010-09-14 17:31:49 +0200, Aurelien Jarno wrote:
> From what I understand both LC_CTYPE and LC_MESSAGES should not be set
> to the "C" locale (or "POSIX" one). It seems the goal is to make sure
> the translated messages could be displayed correctly, which would not be
> the case otherwise.

I don't think this is the reason since fr_FR may need UTF-8
or ISO-8859-15 to be displayed correctly, while I get French
messages in ISO-8859-1 locales. And there's the same display
problem with:

  LC_MESSAGES=zh_CN LC_CTYPE=en_US.ISO8859-1 cp

thus without LANGUAGE at all.

IMHO, the "C" locale is checked mainly for programs that run
entirely under C locales (e.g. LC_ALL=C) for portable behavior.
But the test chosen by the glibc has drawbacks.

Note: some software need UTF-8 locales to behave correctly thus
requiring something like LC_ALL=en_US.UTF8, so the C locale test
isn't even the right one.

-- 
Vincent Lefèvre <[email protected]> - 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)



--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to