This is the mail archive of the glibc-bugs@sourceware.org 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 locale/18927] Different strings should never collate as equal


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.


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