On Mon, 30 May 2011 04:20:01 +0200, Nils Larsson wrote about Re:
[gentoo-user] setting locale:

>måndagen den 30 maj 2011 03:26:49 skrev  Allan Gottlieb:
>> What must I do to get "en_US_utf8" ?
>
>echo "LANG=en_US_utf8" > /etc/env.d/02locale
>and
>env-update
>should work.

Not likely.  The correct locale string is "en_US.UTF-8", not the mess
that is written above.

Moreover, I never use file redirection from echo when a text editor is
a more appropriate tool.  What you have suggested above could well
replace a valid locale setting with an that invalid one, without any
checks at all on the existing contents of the file.  So, it's best to
use vim, nano or even emacs for such a job.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
[email protected] (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*

Attachment: signature.asc
Description: PGP signature

Reply via email to