[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: LANG=C not English?



On 08/03/2008, Tzafrir Cohen <tzafrir@cohens.org.il> wrote:
>
> 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.
>

That is interesting. Thanks!

Dotan Cohen

http://what-is-what.com
http://gibberish.co.il
א-ב-ג-ד-ה-ו-ז-ח-ט-י-ך-כ-ל-ם-מ-ן-נ-ס-ע-ף-פ-ץ-צ-ק-ר-ש-ת

A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?

Reply to: