[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: strcoll problem?
From: |
Paul Eggert |
Subject: |
Re: strcoll problem? |
Date: |
Thu, 14 Mar 2002 11:38:38 -0800 (PST) |
> From: "Paul E. Black" <address@hidden>
> Date: Thu, 14 Mar 2002 13:29:06 -0500
>
> $ more sortbug
> SP
> sBSP
> tBSP
> $ sort sortbug
> sBSP
> SP
> tBSP
>
> Is this correct (or acceptable) behavior? If so, why?
If the locale is set appropriately, it is correct behavior. For example,
it's how Solaris 8 /usr/bin/sort behaves in the en_US.UTF-8 locale.
> LC_ALL is not set. When I set it to "C", sort works as expected.
Environment variables other than LC_ALL also affect strcoll.
What is the output of the "locale" command? What are the values of
your LC_COLLATE and LANG environment variables?
- Re: strcoll problem?,
Paul Eggert <=