On Wed, 3 Feb 2010, Paul Heinlein wrote:

> Date: Wed, 3 Feb 2010 13:04:59 -0800 (PST)
> From: Paul Heinlein <[email protected]>
> Reply-To: "General Linux/UNIX discussion and help;    civil and on-topic"
>     <[email protected]>
> To: Rich Shepard <[email protected]>,
>     "General Linux/UNIX discussion and help;  civil and on-topic"
>     <[email protected]>
> Subject: Re: [PLUG] Appropriate LANG locale
> 
> 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 <> [email protected] <> http://www.madboa.com/

This is my complete set of locale environment variables:

LANG=german
LC_CTYPE=de_DE.utf8
LC_MESSAGES=de_DE.utf8
LC_PAPER=de_DE.utf8
GDM_LANG=de_DE.utf8

To make it appropriate for English, I think you'd want to do the
following (note the difference with LANG):

LANG=en_US.utf8
LC_CTYPE=en_US.utf8
LC_MESSAGES=en_US.utf8
LC_PAPER=en_US.utf8
GDM_LANG=en_US.utf8

I guess I don't set LC_COLLATE; perhaps I better had.

Carlos
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to