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

Re: [A-Z]* oddities



On Tue, Feb 03, 2004 at 03:21:00AM -0500, Mike A. Harris wrote:
> My assumption is that you're expecting a specific collation order 
> such as the legacy "C" or "POSIX" sorting rules, however you're 
> not using that locale and instead are getting sorting which is 
> locale dependant?

Yes, I've been throughly educated about the wrongness of my setup and my
expectations. :)

> If so, decide which collation you want, and set LC_COLLATE to 
> that.  For example, in my .bashrc I have:
> 
> # Get rid of UTF-8 performance loss.
> export LANG=en_US

I like Unicode.

> # Sort stuff the sane oldschool UNIX way
> export LC_COLLATE=C

That ignores accented chars. Oh well, I can't have everything. I'll try to
get used to [[:class:]] as Miloslav suggested.

Regards,
Luciano Rocha




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