[Bug 9583] CompareStringW gives incorrect result for some wide strings

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Sep 10 07:53:41 CDT 2014


https://bugs.winehq.org/show_bug.cgi?id=9583

Virgo Pärna <virgo at gaiasoft.ee> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |virgo at gaiasoft.ee

--- Comment #20 from Virgo Pärna <virgo at gaiasoft.ee> ---
Problem affects also CompareStringA. 
For testing I made Delphi 5 executable with:
CompareStringA(1061, 0, PChar('AA'), 2, PCHar('ÄÄ'), 2)
comparision. And it returns 1 in "Windows 7", but 2 in wine 1.4.1.
It seems, that wine does that comparsion Accent Insensitive way, which is
incorrect. 
And I suspect, that base issue is same with Ansi and Wide version. 
And this is major issue, because any sorting or character comparision using
those functions will work incorrectly.

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