This is the mail archive of the
glibc-bugs@sources.redhat.com
mailing list for the glibc project.
[Bug localedata/259] sorting in en_US locale ignores non-letters
- From: "kjetilho at ifi dot uio dot no" <sourceware-bugzilla at sources dot redhat dot com>
- To: glibc-bugs at sources dot redhat dot com
- Date: 14 Jul 2004 14:17:03 -0000
- Subject: [Bug localedata/259] sorting in en_US locale ignores non-letters
- References: <20040708211139.259.kjetilho@ifi.uio.no>
- Reply-to: sourceware-bugzilla at sources dot redhat dot com
------- Additional Comments From kjetilho at ifi dot uio dot no 2004-07-14 14:16 -------
thank you for the reference.
I can't see a definition of what <IGNORE> means in the standards document, but
it seems like a reasonable interpretation to not include these characters in the
subkeys.
so, it looks like what I really want is to change the definition of a few
characters:
<U0009> IGNORE;IGNORE;IGNORE;<U0009>
<U0020> IGNORE;IGNORE;IGNORE;<U0020>
(and U002C and U002E probably more, but space and punctuation are the most
important)
into
<U0009> <SPECIAL>;<SPECIAL>;<SPECIAL>;<U0009>
<U0020> <SPECIAL>;<SPECIAL>;<SPECIAL>;<U0020>
etc.
so that these characters don't affect sorting, but effectively break the string
into words which are sorted one by one. I made my own locale with this change,
and it works fine :-)
--
http://sources.redhat.com/bugzilla/show_bug.cgi?id=259
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.