bug-bash
[Top][All Lists]
Advanced

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

Re: locale specific ordering in EN_US -- why is a<A<b<B<y<Y<z<Z?


From: Sven Mascheck
Subject: Re: locale specific ordering in EN_US -- why is a<A<b<B<y<Y<z<Z?
Date: Mon, 21 May 2012 21:55:22 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

On Mon, May 21, 2012 at 03:46:00PM -0400, Chet Ramey wrote:

> Posix says that ranges work the way you are used to if you force the
> traditional ordering using the `C' or `Posix' locale.  Take a deep
> breath and use LC_ALL=C in your scripts to avoid depending on whatever
> your OS uses as the default.

I'd suggest to use "only" LC_COLLATE=C to keep other important features
like e.g. printability (LC_CTYPE) or localized messages (LC_MESSAGES).
Or has anybody ever noticed problems with this approach?

Sven



reply via email to

[Prev in Thread] Current Thread [Next in Thread]