[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [A-Z]* oddities
- From: Alan Cox <alan redhat com>
- To: fedora-devel-list redhat com
- Subject: Re: [A-Z]* oddities
- Date: Mon, 2 Feb 2004 16:46:42 -0500
On Mon, Feb 02, 2004 at 07:04:22PM +0000, Luciano Miguel Ferreira Rocha wrote:
> On Mon, Feb 02, 2004 at 01:15:01PM -0500, Behdad Esfahbod wrote:
> > This is totally expected :).
> >
> > For what you want try LANG=C echo [A-Z]* ...
> >
> > In LANG=en_US.UTF-8 which is the default, both 'A' and 'a' sort
> > before 'B' and 'b'.
>
> But 'A' is *after* 'a'?
>
> And I thought utf-8 was supposed to be compatible with ascii...
utf-8 is a character encoding. It doesn't relate to sort (or more properly
"collation") order.
> Well, if that's the standard, then it isn't broken...
The standard depends on the actual language/location. Some sort AaBbCc others
have more complex rules (a b c ch d dd e f ff g ng ...) etc
Alan
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]