[Bug 19429] New: WideCharToMultiByte: Incorrect conversion of "default character"

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Jul 23 09:11:16 CDT 2009


http://bugs.winehq.org/show_bug.cgi?id=19429

           Summary: WideCharToMultiByte: Incorrect conversion of "default
                    character"
           Product: Wine
           Version: unspecified
          Platform: PC-x86-64
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: dee at bowfive.oag.co.jp


Created an attachment (id=22553)
 --> (http://bugs.winehq.org/attachment.cgi?id=22553)
The C program which can reproduce the problem

I found that WideCharToMultiByte() converts "default character" incorrectly in
932 (Japanese SHIFT-JIS) code page.

Attached C program can reproduce the problem (The binary attached is compiled
using Borland C++ Compiler 5.5.1).

On Windows XP Professional(32bit,SP3,Japanese),  it produces following output
(and is what I expect):

Y:\dbcstest>test
0123?456789


On Wine 1.1.26 running on Ubuntu Jaunty(9.04) x86_64, it produces:

$ wine test.exe
0123$$456789

-- 
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