http://bugs.winehq.org/show_bug.cgi?id=26632
--- Comment #13 from Sagawa sagawa.aki+winebugs@gmail.com 2011-04-03 09:35:28 CDT --- Created an attachment (id=33916) --> (http://bugs.winehq.org/attachment.cgi?id=33916) testcase for the patch
(In reply to comment #11)
This should be done in libs/wine/mbtowc.c,check_invalid_chars_dbcs() instead.
Thank you for your comments. Third hunk of the patch is for check_invalid_chars_dbcs().
Why did I patch into check_invalid_chars_sbcs()? Because some SBCS codepages, e.g. CP1255, have a same problem. Attached test case examines these behavoir.