This is the mail archive of the glibc-bugs@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]

[Bug localedata/259] sorting in en_US locale ignores non-letters


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


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