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

Re: locales & perl [solved]



Incoming from s. keeling:
> Hi.  I've figured out how to supply/generate my chosen locale
> (dpkg-reconfigure locales), and now I have:
> 
>    export LC_ALL="en_CA.ISO-8859-1"
>    export LANG="en_CA.ISO-8859-1"
>    export LANGUAGE="en_CA.ISO-8859-1"
> 
> in my ~/.bash_profile, but perl doesn't appear to get it:
> 
>    perl: warning: Setting locale failed.

As root:

  - add your locale to /etc/locale.gen

      en_CA ISO-8859-1

  - add your locale alias to /etc/locale.alias

      en_CA           en_CA.ISO-8859-1

  - run "locale-gen"


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -



Reply to: