[Bug 9583] CompareStringW gives incorrect result for some wide strings
WineHQ Bugzilla
wine-bugs at winehq.org
Wed Jan 20 02:20:24 CST 2021
https://bugs.winehq.org/show_bug.cgi?id=9583
--- Comment #28 from Virgo Pärna <virgo at gaiasoft.ee> ---
Tested with custom made Delphi5 executable.
Windows:
CompareStringA(1024, SORT_STRINGSORT, PChar('VAA'), 3, PChar('VÄÄ'), 3) returns
1
CompareStringA(0, SORT_STRINGSORT, PChar('VAA'), 3, PChar('VÄÄ'), 3) returns 1
wine-4.0 (Debian 4.0-2):
CompareStringA(1024, SORT_STRINGSORT, PChar('VAA'), 3, PChar('VÄÄ'), 3) returns
2
CompareStringA(0, SORT_STRINGSORT, PChar('VAA'), 3, PChar('VÄÄ'), 3) returns 2
wine-6.0-101-g6c8029d8d0a
CompareStringA(1024, SORT_STRINGSORT, PChar('VAA'), 3, PChar('VÄÄ'), 3) returns
1
CompareStringA(0, SORT_STRINGSORT, PChar('VAA'), 3, PChar('VÄÄ'), 3) returns 1
So it seems to be much better. Bear and wheelbarrow are no longer same word...
--
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