perl and locales

Richard Molton richardmolton at aaug.net
Mon Jan 24 09:32:07 PST 2005


On 24 Jan, Andrei A. Voropaev <av at simcon-mt.com> wrote:
 What is the output from 'locale' command? My
> says

> LANG=
> LC_CTYPE="POSIX"
> LC_NUMERIC="POSIX"
> LC_TIME="POSIX"
> LC_COLLATE="POSIX"
> LC_MONETARY="POSIX"
> LC_MESSAGES="POSIX"
> LC_PAPER="POSIX"
> LC_NAME="POSIX"
> LC_ADDRESS="POSIX"
> LC_TELEPHONE="POSIX"
> LC_MEASUREMENT="POSIX"
> LC_IDENTIFICATION="POSIX"
> LC_ALL=

> That's default one. What is yours?


/usr/bin/locale: Cannot set LC_CTYPE to default locale: No such
file or directory.
/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such
file or directory.
/usr/bin/locale: Cannot set LC_ALL to default locale: No such file
or directory.


> LANG=[en]_[GB]
> LC_CTYPE="[en]_[GB]"
> LC_NUMERIC="[en]_[GB]"
> LC_TIME="[en]_[GB]"
> LC_COLLATE="[en]_[GB]"
> LC_MONETARY="[en]_[GB]"
> LC_MESSAGES="[en]_[GB]"
> LC_PAPER="[en]_[GB]"
> LC_NAME="[en]_[GB]"
> LC_ADDRESS="[en]_[GB]"
> LC_TELEPHONE="[en]_[GB]"
> LC_MEASUREMENT="[en]_[GB]"
> LC_IDENTIFICATION="[en]_[GB]"
> LC_ALL=[en]_[GB]

Regards,

Richard




More information about the lfs-support mailing list