NLS support will be disabled by default for now

Philipp Thomas pthomas@suse.de
Mon Nov 27 08:27:00 GMT 2000


* 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


More information about the Gcc mailing list