https://bugs.winehq.org/show_bug.cgi?id=53009
Bug ID: 53009 Summary: Final Fantasy XI Config has some text rendered/converted incorrectly Product: Wine Version: unspecified Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: chiitoo@gentoo.org Distribution: ---
If Windows version is set to Vista or later, the text on the window tabs and combo box areas is displayed as question marks (except for one with resolution (for example 1920 x 1080)).
Setting Windows version to XP for example leads to the text being displayed correctly.
Looking at some 'all' traces, things seem to be going wrong somewhere before 'WideCharToMultiByte' already:
108528.171:0020:0024:Call KERNEL32.WideCharToMultiByte(00000003,00000000,0075f2da L"??\n??????????\0004????\0003???",00000002,00000000,00000000,00000000,00000000) ret=0040a804 108528.171:0020:0024:trace:nls:WideCharToMultiByte cp 3 L"??" -> (null), ret = 2 108528.171:0020:0024:Ret KERNEL32.WideCharToMultiByte() retval=00000002 ret=0040a804
Only somewhat interesting difference I could spot near this area, is that the 'id' is different in:
108528.171:0020:0024:trace:resource:find_entry_by_id root 00733000 dir 00733AA0 id 0809 ret 007344F0
Looking into that function and what it does, it doesn't seem too plausible that it is related, but I could be very wrong.
There are also a lot of 'RtlAnsiStringToUnicodeString' things going on a lot earlier, but I couldn't connect any of it to this yet.
I'm pretty sure this never worked right for this application, where it started after some changes made to it back in 2019.
To test this, one needs to install the PlayOnline Viewer and Final Fantasy XI, and after that, the config utility can be found under any of the 'Tools' directories in 'install_path/SquareEnix/FINAL FANTASY XI'.