[Bug 26632] New: MultiByteToWideChar with MB_ERR_INVALID_CHARS doesn't fail for some code points.
wine-bugs at winehq.org
wine-bugs at winehq.org
Sat Apr 2 03:40:34 CDT 2011
http://bugs.winehq.org/show_bug.cgi?id=26632
Summary: MultiByteToWideChar with MB_ERR_INVALID_CHARS doesn't
fail for some code points.
Product: Wine
Version: 1.3.17
Platform: x86
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: kernel32
AssignedTo: wine-bugs at winehq.org
ReportedBy: sagawa.aki+winebugs at gmail.com
Created an attachment (id=33899)
--> (http://bugs.winehq.org/attachment.cgi?id=33899)
test MB_ERR_INVALID_CHARS
I ran the attached source code in both Wine and Windows XP environments. In
some codepages, inclueding Japanese (CP932), the result doesn't match.
For instance, Japanese Windows marks `X' (conversion fail) for 0xA0, 0xFD, 0xFE
and 0xFF. But Wine (LANG=ja_JP.UTF-8) marks `o' (OK) for them.
This only happens when I pass MB_ERR_INVALID_CHARS for MultiByteToWideChars.
This article might be help you.
http://blogs.msdn.com/b/michkap/archive/2007/07/25/4037646.aspx
--
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.
More information about the wine-bugs
mailing list