[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: how to change locale settings

On Sat, May 20, 2006 at 16:06:31 -0400, Adam Black wrote:
> Hi again.
> OK so I recently switched to a non-UTF locale to un-break emacs (or to
> attempt to un-break it) and supposedly I switched to en_US the ISO one
> but now anytime i run any program I get the following error:
> warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>        LANGUAGE = "en_CA:en_US:en_GB:en",
>        LC_ALL = (unset),
>        LANG = "en_CA.UTF-8"
>    are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> perl: warning: Setting locale failed.
> I tried dpkg-reconfigure locales but with no success, just the same
> error message.  any ideas?

Where/how do you set $LANGUAGE? I can't find "en" (without an additional
qualifier) in /usr/share/i18n/SUPPORTED, therefore I suspect that this
might be the reason for your problem. You check this by unsetting this
environmental variable

export LANGUAGE=

and testing if that makes any difference. Once you have figured out which
setting causes the problem  you have to find out where it gets set. A
likely candidate is /etc/environment.


Reply to: