Re: locales & perl [solved]
i never had to edit locale.gen, reconfiguring locale does it for me. it
also runs locale-gen.
in local.alias, however, one can read :
# Note: This file is far from being complete. If you have a value for
# your own site which you think might be useful for others too, share
# it with the rest of us. Send it using the `glibcbug' script to
# bugs@gnu.org.
sorry i wanted to reply to the list, not to you.
cheers, piem
On Tue, Jan 06, 2004 at 10:25:04PM -0700, s. keeling wrote:
> Incoming from Paul Brossier:
> >
> > On Mon, 2004-01-05 at 03:23, s. keeling wrote:
> > > 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"
> >
> > or do it with
> > # dpkg-reconfigure locales
Reply to: