https://bugs.winehq.org/show_bug.cgi?id=48288
Bug ID: 48288 Summary: kernelbase: Japanese character wrongly reported as invalid. Product: Wine Version: 5.0-rc1 Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernelbase Assignee: wine-bugs@winehq.org Reporter: sagawa.aki+winebugs@gmail.com Regression SHA1: 7e8f1dac30267058cf3b36d49b6ed3c440087024 Distribution: Ubuntu
Wine 5.0-rc1 has an issue which is very similar to Bug 17500. I'm working on this and I'll submit a parch in a few days.
In short, the following code doesn't work as expected: MultiByteToWideChar(932, MB_ERR_INVALID_CHARS, "\x81\x45", -1, NULL, 0);
Steps to reproduce: 1. obtain the test case from attachment 19616 (written by Leffe for Bug 17500). 2. compile it with mingw32 compiler. 3. LANG=ja_JP.UTF-8 wine testcase.exe 4. echo "ret is $?"
Expected result: ret is 0 i.e. MultiByteToWideChar doesn't report an error.
Actual result: ret is 1 i.e. MultiByteToWideChar complains about the input.
https://bugs.winehq.org/show_bug.cgi?id=48288
Sagawa sagawa.aki+winebugs@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression, testcase
https://bugs.winehq.org/show_bug.cgi?id=48288
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |a85bc781d380754a576db573959 | |d4c76b5a32e01 Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED
--- Comment #1 from Alexandre Julliard julliard@winehq.org --- Fixed by a85bc781d380754a576db573959d4c76b5a32e01.
https://bugs.winehq.org/show_bug.cgi?id=48288
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #2 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 5.0-rc2.
https://bugs.winehq.org/show_bug.cgi?id=48288
Zebediah Figura z.figura12@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|kernelbase |kernel32