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@winehq.org ReportedBy: anpaza@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.
http://bugs.winehq.org/show_bug.cgi?id=15736
Kirill K. Smirnov lich@math.spbu.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lich@math.spbu.ru
--- Comment #1 from Kirill K. Smirnov lich@math.spbu.ru 2008-10-24 05:10:20 --- dupe of bug #13819
http://bugs.winehq.org/show_bug.cgi?id=15736
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |DUPLICATE
--- Comment #2 from Austin English austinenglish@gmail.com 2008-10-24 10:37:03 --- Dupe
*** This bug has been marked as a duplicate of bug 13819 ***
http://bugs.winehq.org/show_bug.cgi?id=15736
James Hawkins truiken@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from James Hawkins truiken@gmail.com 2008-10-24 12:20:37 --- Closing.