This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug locale/18927] Different strings should never collate as equal
- From: "joseph at codesourcery dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sourceware dot org
- Date: Wed, 09 Sep 2015 13:58:35 +0000
- Subject: [Bug locale/18927] Different strings should never collate as equal
- Auto-submitted: auto-generated
- References: <bug-18927-131 at http dot sourceware dot org/bugzilla/>
https://sourceware.org/bugzilla/show_bug.cgi?id=18927
--- Comment #8 from joseph at codesourcery dot com <joseph at codesourcery dot com> ---
On Wed, 9 Sep 2015, fweimer at redhat dot com wrote:
> I find it extremely surprising that strcoll is not to supposed to perform some
> form of normalization in UTF-8 and similar locales. Is this really the
> intent?
The intent is that, to avoid various surprising effects discussed in those
issues (and the previous discussions on the Austin Group mailing list),
byte-distinct strings do not collate the same (although if they normalize
the same, I'd expect them to collate together relative to all other
strings - differences in normalization being of the lowest precedence in
collation).
> Is there a reason not to use the Unicode Collation Algorithm?
>
> <http://www.unicode.org/reports/tr10/>
Well, our collation data is based on ISO 14651, which is meant to be
equivalent, but updating it requires understanding just how the existing
files relate to an old version of ISO 14651 and which local changes are or
are not still relevant when updating to a newer version. See bug 14095.
--
You are receiving this mail because:
You are on the CC list for the bug.