Re: [Nautilus-list] bug or feature? file list order

On Friday, May 25, 2001, at 04:00  PM, Christian Rose wrote:

It's not strange. This is not ASCII sorting, it's sorting based on
actual lexigraphical sorting rules for the language/locale, in other
words what you'd expect from any paper index. Non-alphanumeric
characters cannot be ordered lexigraphically, so they are ignored.
If you want ASCII sorting (based on ASCII value), use the C locale.
LC_COLLATE is the variable that controls sorting, so make sure
LC_COLLATE is "C" in that case (also make sure you unset LC_ALL, else
you won't be able to change LC_COLLATE).

I understand what "actual lexigraphical sorting" is.

Ignoring all non-alphanumeric characters is not the most useful behavior. I want sorting that's useful for a human being, but that also acknowledges that there are characters other than alphanumerics. I'm sad to discover that strcoll simply ignores any non-alphanumeric characters.

    -- Darin

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