On Tue, Mar 04, 2008 at 12:29:21PM +0100, Michelle Konzack wrote: > Hi again, > > Am 2008-03-02 18:54:50, schrieb Dotan Cohen: > > Very informative links, Osamu, but they explain how to set only the > > 'standard' locale of a user, not C. How is that set? Thanks! > > It is the same way set as the 'standard' locale, but there are some > programs whose do not like "C", and of course, Debian is now using > UNICODE as default, you should use "en_US.UTF-8" which will work very > nice. > > Note: C = us-ascii = en_US > ...and "en_US.UTF-8" has only some extensions. :-)
C != en_US $ ( echo a ; echo B ) | sort a B $ ( echo a ; echo B ) | LANG=C sort B a $ ( echo a ; echo B ) | LC_COLLATE=C sort B a The built-in C locale has no sorting order. All others provide ordering of characters. And specifically, place each English small cap right after the capital one. And not to mention that en_US does not use ascii. It used ISO-8859-1 and now should use UTF-8 like the rest of the civilized world. -- Tzafrir Cohen | [EMAIL PROTECTED] | VIM is http://tzafrir.org.il | | a Mutt's [EMAIL PROTECTED] | | best ICQ# 16849754 | | friend -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]