+2006-05-16 Bruno Haible <bruno@clisp.org>
+
+ * gettext-4-prg.c: Set the LC_ALL environment variable, not just LANG.
+ Needed on non-glibc Unix systems where !HAVE_LOCALE_NULL and
+ _nl_locale_name_default() = "C".
+
2006-05-14 Bruno Haible <bruno@clisp.org>
* xgettext-php-2: New file.
unsetenv ("LANG");
unsetenv ("OUTPUT_CHARSET");
- setlocale (LC_ALL, "de_DE.ISO-8859-1");
- /* Need to set LANGUAGE explicitly, because on MacOS X, when no LC_*
- environment variable is set, LANGUAGE defaults to the value of
- _nl_language_preferences_default (), which is not under our control. */
- xsetenv ("LANGUAGE", "de_DE", 1);
+ xsetenv ("LC_ALL", "de_DE.ISO-8859-1", 1);
+ setlocale (LC_ALL, "");
textdomain ("codeset");
bindtextdomain ("codeset", ".");