On Friday 06 October 2006 13:29, Liviu Andronic wrote:
> I have a slight problem with defining a en_US.UTF-8 locale. I tried the
> Gentoo Official Documentation on Localization and Syste-wide
> UTF-8, but I cannot make actually having en_US.UTF-8. Here are some
> commands I ran:
>
> The locales I have (nothing changes even after I run the rest of the
> commands.
> localhost ~ # locale -a
> C
> en_US.utf8
> POSIX
>
> localhost ~ # localedef -i en_US -f UTF-8 en_US.UTF-8

localedef is not necessary. Use locale-gen instead.

> localhost ~ # locale-gen
> * Generating 1 locales (this might take a while)
> * (1/1) Generating en_US.UTF-8 ... [ ok ] * Generation complete

Which you did - with success.

> localhost ~ # locale -a
> C
> en_US.utf8
> POSIX
> localhost ~ # env | grep -i LC_
> LC_ALL=en_US.UTF-8

And your current locale obviously is en_US.UTF-8. So... congrats... everything 
is fine. :)

-- 
Bo Andresen

Attachment: pgpRTxwoQ7Nwn.pgp
Description: PGP signature

Reply via email to