From: Tor L. <tm...@ik...> - 2005-05-10 03:15:14
|
ad...@ne... writes: > I do not think MinGW GCC currently supports locale. My tests show that no > version of MinGW GCC can recognize a locale name like "de_DE" or > "German_Germany.1252". It isn't mingw that supports locales, but the Microsoft C runtime. Microsoft's C library uses the "German_Germany.1252" style of locale (or locale category) name (as second parameter to setlocale()). If you pass an empty string as the second parameter to setlocale(), it uses the setting from Windows's Regional Settings. It does *not* support taking locale names from the environment, setting LANG or LC_* environment variables has no effect, in case that's what you have tried. --tml |