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

RE: Setting environment: $LC_*, $LANG, LC_ALL, LANGUAGE



On 16-Aug-2002 James Hughes wrote:
> Hello,
> 
> After a recent upgrade, some applications are complaining about
> certain environment variables not being set. Specifically, man
> complains "can't set the locale; make sure $LC_* and $LANG are
> correct", and perl prints the following:
> 
> perl: warning: Setting locale failed.
> perl: warning: Please check that your locale settings:
>         LANGUAGE = (unset),
>         LC_ALL = (unset),
>         LANG = "en_US.UTF-8"
>     are supported and installed on your system.
> perl: warning: Falling back to the standard locale ("C").
> 
> I guess the two main offenders would be LANGUAGE and LC_ALL. What are
> reasonable values to set these variables to?          
> 

look at /etc/locale.gen.  You most likely have a defined locale but do not have
it enabled.



Reply to: