[Bug 10767] lstrcmp and others do not compare punctuation characters correctly

wine-bugs at winehq.org wine-bugs at winehq.org
Tue Nov 17 15:24:29 CST 2009


http://bugs.winehq.org/show_bug.cgi?id=10767





--- Comment #25 from Rafał Mużyło <galtgendo at o2.pl>  2009-11-17 15:24:28 ---
(In reply to comment #24)
> 
> Again, this has nothing to do with this bug. Please stop adding confusion. If
> you have an app that fails because of incorrect locale-dependent sorting,
> please file another bug for that problem.

But the point is - it does.
wine_compare_string uses that collation table for string *comparison*
- that quote from Unicode docs says that's wrong.
While result 'equal' does have a meaning,
'not equal' does not. It tells nothing about how those strings should
be sorted, as the actual result is *always* language dependent.

This whole problem here comes from using collation table
as something that provides data for plain string sorting,
but that quote clearly says it should *not* be used that way.

While I didn't do any real tests, I think that that et_EE locale
would give you a good counter example. (though I don't know,
if Microsoft actually created Estonian localization, given
significantly small size of the market)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the wine-bugs mailing list