[Bug 40407] 紅蓮華 fails to read files from the ga =?UTF-8?Q?me?='s archives

wine-bugs at winehq.org wine-bugs at winehq.org
Wed May 25 10:12:13 CDT 2016


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

Sagawa <sagawa.aki+winebugs at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |sagawa.aki+winebugs at gmail.c
                   |                            |om

--- Comment #3 from Sagawa <sagawa.aki+winebugs at gmail.com> ---
Hi Mokou,
I think this is Wine's incompatibility related collation (or sort weight)
table.

As you might know, Wine uses Unicode.org's collation table for string
comparison. However, Windows uses their own table for the purpose. Therefore,
in some cases, the sort order differs between Wine and Windows.

In this case, the application searches archived file name with following code:
lstrcmpiA("chart\\flowchart.lsf","chart\\flowchart_019.bmp");
It returns positive(1) on Wine but negative(-1) on Windows. So, it can't find
out archive file name by binary search algorithm. This is the cause of this
issue.

Similar case as seen in Bug 35009, Bug 36690 and Bug 10767.

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