http://bugs.winehq.org/show_bug.cgi?id=25251 Summary: Multi-byte characters handled incorrectly by MSVCRT_isleadbyte() Product: Wine Version: 1.3.7 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: msvcrt AssignedTo: wine-bugs(a)winehq.org ReportedBy: nagatospam(a)gmail.com Created an attachment (id=32067) --> (http://bugs.winehq.org/attachment.cgi?id=32067) Possible fix Here's a case that can be used to test with: _mbspbrk("C:\\age\\マブラヴオルタネイティヴ\\Alternative.rio.ici", ";,|*?\"<>{}[]"); None of the Japanese characters are interpreted as multi-byte by MSVCRT_isleadbyte() so when _mbspbrk reaches 'マ' (0x837D) it matches the '}' (0x7D) from the match string with the second byte of 'マ'. Only tested in Japanese locale but probably happens with others. Attached is a simple fix that fixes the 2 games that I tested. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.