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

Re: Locale en_US and sorting order

On Mon, 02 Sep 2002, Carl Johnson wrote:
> I have been using the locale en_US.UTF-8 for unicode, and I noticed
> that the sorting order is different than the default 'C' locale.  With

Obviously.  You don't expect dictionaries to sort "a" and "A" differently,
do you?

> I've been using different versions of unix for 15-20 years and the old
> system is thoroughly burned into my brain, so I would like to get it
> back.  Does anybody know how to change back, or is the current system
> even considered a bug?

export LC_COLLATE=C  will do it.  It is actually a bug not to have it if you
need C collation order in a script or something...

  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh

Reply to: