This is the mail archive of the
libc-locales@sourceware.org
mailing list for the GNU libc locales project.
[Bug localedata/5521] Collation: "#" < "a" < "#a"; special characters and wrong sorting
- From: "maciej dot blizinski+sources-bugzilla at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: libc-locales at sources dot redhat dot com
- Date: 24 Dec 2007 16:51:33 -0000
- Subject: [Bug localedata/5521] Collation: "#" < "a" < "#a"; special characters and wrong sorting
- References: <20071224143304.5521.maciej.blizinski+sources-bugzilla@gmail.com>
- Reply-to: sourceware-bugzilla at sourceware dot org
------- Additional Comments From maciej dot blizinski+sources-bugzilla at gmail dot com 2007-12-24 16:51 -------
I've found a relevant page here:
http://www.unicode.org/unicode/reports/tr10/#Common_Misperceptions
Collation order is not preserved under concatenation or substring operations, in
general. For example, the fact that x is less than y does not mean that x + z is
less than y + z. This is because characters may form contractions across the
substring or concatenation boundaries. In summary, the following shows which
implications not to expect.
x < y â?? xz < yz
x < y â?? zx < zy
xz < yz â?? x < y
zx < zy â?? x < y
* * *
Perhaps I've fallen into the misperception number one: x < y ? xz < yz. I'll
need to read this document carefully and understand why doesn't x < y imply xz < yz.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=5521
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.