[Bug 15736] New: Console programs outputs localized messages in wrong encoding
wine-bugs at winehq.org
wine-bugs at winehq.org
Thu Oct 23 14:06:06 CDT 2008
http://bugs.winehq.org/show_bug.cgi?id=15736
Summary: Console programs outputs localized messages in wrong
encoding
Product: Wine
Version: 1.1.5
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: winex11.drv
AssignedTo: wine-bugs at winehq.org
ReportedBy: anpaza at mail.ru
When launching any Windows console programs with 'wine', the text will be
output in the DOS codepage, no matter what my Unix encoding is. For example, if
I launch:
wine cmd.exe
having a Russian locale (ru_RU.CP1251) it will output Russian text in Windows
codepage 866, which is unreadable.
wineconsole works fine because it provides its own console with the correct
codepage. Exampple:
$ wine cmd
‚ҐабЁп CMD 1.1.5
Z:\home\zap>
Should be:
$ wine cmd
Версия CMD 1.1.5
Z:\home\zap>
I think the layer which outputs text to stdout/stderr (and reads from stdin)
must convert everything from UCS-2 or WANSI to current Unix encoding (which can
be obtained with nl_langinfo (CODESET)) and not to DOS codepage. The
wineconsole layer may be left as it is.
--
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