[PLUG] Appropriate LANG locale

Paul Heinlein heinlein at madboa.com
Wed Feb 3 21:04:59 UTC 2010


On Wed, 3 Feb 2010, Rich Shepard wrote:

>   I've had locale set as 'C' for a long time. When I changed it to 
> something different (e.g., en_US.utf-8) some displays were 
> incorrect. (I don't recall which ones because it's been a while.) 
> Anyway, ...
>
>   I would like to use a locale that displays accented characters in 
> alpine messages. In ~/.bash_profile I exported LANG=en_US.utf-8, 
> then sourced the file. The collation order remained 'C', but all 
> other variables were changed.
>
>   Is this the locale I want to use?

I usually do

LANG="en_US.UTF-8"
LC_COLLATE="C"

I get the old-fashioned ASCII sort ordering, can still get unicode in 
terminal windows, etc.

-- 
Paul Heinlein <> heinlein at madboa.com <> http://www.madboa.com/



More information about the PLUG mailing list