Why is LANG set to en_US.UTF-8?

Chris Adams cmadams at hiwaay.net
Wed Jan 19 19:26:53 UTC 2005


Once upon a time, Aleksandar Milivojevic <amilivojevic at pbl.ca> said:
> Usually I have it set to just "C" (default POSIX locale).  I hate when 
> ls intermix dot files with "normal" files in ls -a output, and don't 
> like lower/upercase being ignored when sorting either.  Setting LANG to 
> C solves both problems :-)

Since all you are complaining about here is ordering (not charset or
language issues), you should just change the ordering.  LC_COLLATE=C
works just fine while keeping all the magic goodness that is
en_US.UTF-8.

-- 
Chris Adams <cmadams at hiwaay.net>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.




More information about the users mailing list