character coding

S. Anthony Sequeira tony at sequeira.org.uk
Sun Dec 26 15:24:49 PST 2004


On Sun, 2004-12-26 at 16:18 +0100, Matthias B. wrote:
> Both ls and rm will show the desired behaviour if the LC_* variables
> are
> properly set.
> 
> export LANG=de_DE
> export LC_ALL=""
> export LC_COLLATE=C
> export LC_MONETARY=C
> export LC_NUMERIC=C
> export LC_TIME=C
> export LC_MESSAGES=C
> 
> These are the settings that the OP probably wants. To make the system
> "more German", set the necessary variables to "de_DE", but DON'T do
> this
> blindly for all of them, only for those that you know will fix your
> problem (e.g. if you want to get German messages, set
> LC_MESSAGES=de_DE,
> if you want ls to sort in German, set LC_COLLATE=de_DE).
> 
> And the most important thing: 
> 
>     Never ever set LC_ALL!!!!

Wow, thanks.  You have solved a problem that has been bothering me for a
while now.

Magic.
-- 
A journey of a thousand miles must begin with a single step.
-- Lao Tsu





More information about the lfs-support mailing list