This is the mail archive of the
libc-locales@sources.redhat.com
mailing list for the GNU libc locales project.
Re: Collating bug with period?
- From: Petter Reinholdtsen <pere at hungry dot com>
- To: Ole Laursen <olau at cs dot aau dot dk>
- Cc: libc-locales at sources dot redhat dot com
- Date: Tue, 5 Apr 2005 10:50:48 +0200
- Subject: Re: Collating bug with period?
- Bcc: Petter Reinholdtsen <petter dot reinholdtsen at usit dot uio dot no>
- References: <tv8is31r5e6.fsf@marge.cs.aau.dk>
[Ole Laursen]
> I can reproduce this on different Red Hat systems. Is this a bug?
Nope. It is a feature. The sorting method is called multilevel
sorting, and the point seen here is that the first level is letters
only, and period is ignored at this level. The result is that "a.a"
and "aa" is sorted as if both were "aa" on the first level. The other
levels are only consulted if the previous levels didn't manage to
order the strings relative to each other based on the information in
the previous level.