This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: Collation Confusion
- From: Daniel Yacob <yacob at geez dot org>
- To: pere at hungry dot com, yacob at geez dot org
- Cc: libc-alpha at sources dot redhat dot com
- Date: Sun, 15 Feb 2004 21:26:36 -0600
- Subject: 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