perl and locales
Erika Pacholleck
pchllck at nexgo.de
Mon Jan 24 15:49:32 MST 2005
[24.01.2005] S. Anthony Sequeira <-- :
> On Mon, 2005-01-24 at 21:08 +0000, Richard Molton wrote:
> > ./profile:
>
> > export LC_ALL=[en]_[GB]
>
> Use your favourite editor to remove every occurrence of '[' and ']' from
> this line in /etc/profile, logout, log back in and you should be OK.
Right and wrong.
Generally: do `localedef --list-archive`. You get a list of all the
values which you can use for your LC_* and LANG variables (those are
the ones which have been created with the localedef command). You write
a value __exactely__ like it appears on your screen. Simple as that.
(Don't forget, for some of the LC_CTYPE ones you need a fitting font.)
Next: everyone who tells you to set LC_ALL permanently, is simply
spreading bullshit.
Last: locale variables are user matters and do not belong into
/etc/profile but into the each users $HOME/.profile.
Regards, Erika
More information about the lfs-support
mailing list