Collation Confusion

Daniel Yacob yacob@geez.org
Sun Feb 15 13:19:00 GMT 2004


>> 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



More information about the Libc-alpha mailing list