This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: NLS support will be disabled by default for now


* Dennis Bjorklund (db@zigo.dhs.org) [20001127 08:09]:

> What's the meaning with LC_MESSAGES, LC_TIME, LC_xxx if you only can set
> LC_ALL. There is no logic behind that.

Well, LC_ALL is a bit overkill IMO, but at least LC_MESSAGES and LC_CTYPE
*have* to be set both, as the character set (which is selected by LC_CTYPE)
should match the one used for the message catalog.

And setting LC_CTYPE alone does effect quite a bit already. And then there
are the cases of those locales, where LC_MESSAGES isn't supported and so
you must use LC_ALL.

All and all, for GCC to have correct NLS support, it needs to be locale
independent where it matters. This would mean creating replacement
macros/functions that behave like those of the C library for the C/POSIX
locale.

Philipp

-- 
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany

Penguins shall save the dinosaurs
                          -- Handelsblatt about Linux on S/390

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]