>>>>> Todd Warner writes:
Todd> I think I broke something. When I run much of the software on my system,
Todd> I am getting errors related to locale being unset. I have dug around and
Todd> am unsure what this is and what to do about it. Does this have something
Todd> to to with internationalization? Anyway, I want to fix it.
Todd> I'm using RH 5.2... here are some examples:
Todd> E.g. if I run emacs I get this error in my console:
Todd> Warning: locale not supported by C library, locale unchanged
Todd> When I run perl I get:
Todd> perl: warning: Setting locale failed.
Todd> perl: warning: Please check that your locale settings:
Todd> LC_ALL = "",
Todd> LANG = "en_us"
Todd> are supported and installed on your system.
Todd> perl: warning: Falling back to the standard locale ("C").
Todd> What does this mean? And what can I do?
Todd> Please respond here and to [EMAIL PROTECTED]
Do you have an entry for en_us (btw. the standard form is en_US) in
/usr/share/locale?
>From the glibc FAQ:
2.11. Programs using libc have their messages translated, but other
behavior is not localized (e.g. collating order); why?
{ZW} Translated messages are automatically installed, but the locale
database that controls other behaviors is not. You need to run localedef to
install this database, after you have run `make install'. For example, to
set up the French Canadian locale, simply issue the command
localedef -i fr_CA -f ISO-8859-1 fr_CA
Please see localedata/README in the source tree for further details.
Andreas
--
Andreas Jaeger [EMAIL PROTECTED] [EMAIL PROTECTED]
for pgp-key finger [EMAIL PROTECTED]