This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Collation Confusion


>> What am I missing?  If this is indeed the way collation should
>> occur, how can the collation statements above be modified to sort
>> with "Aa" following "ab"?

> Looks correct to me.  You need to be aware of multi-level sorting when
> trying to understand collation in glibc.  See
> <URL:http://sources.redhat.com/ml/libc-alpha/2004-01/msg00146.html>
> for some comments I made regarding this earlier.


Ok, well through manipulation of the weights (<a>, <b>, <BAS>, <CAP>, <MIN>)
and the comparision directions (forward, backward, position), is it even
possible to specify the collation I was looking for (a, A, aa, ab, Aa)?

I have tried every permutation that I could think of and couldn't come up with
this style of sorting without adding the character address as the first weight.

thanks,

/Daniel


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]