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@winehq.org ReportedBy: dee@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