http://bugs.winehq.org/show_bug.cgi?id=10425
Summary: wine/program/net program don't show Korea Message Product: Wine Version: CVS/GIT Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: wine-console AssignedTo: wine-bugs@winehq.org ReportedBy: hys545@dreamwiz.com
[hys545@localhost net]$ echo $LANG ko_KR.UTF-8
[hys545@localhost net]$ ./net
� ���:
NET [ HELP | START | STOP ]
[hys545@localhost net]$ export LANG=C [hys545@localhost net]$ ./net The syntax of this command is:
NET [ HELP | START | STOP ] [hys545@localhost net]$ ///////////////////////////////////////////// I fixed output_string in net.c
int output_string(int msg, ...) { WCHAR msg_buffer[8192]; //fixed CHAR ansi[8192];//ADD va_list arguments;
LoadStringW(GetModuleHandle(NULL), msg, msg_buffer, sizeof(msg_buffer));//fixed WideCharToMultiByte(CP_UNIXCP, 0, msg_buffer, -1, ansi, sizeof(ansi), NULL, NULL);//ADD va_start(arguments, msg); vprintf(ansi, arguments);//fixed va_end(arguments); return 0; } //////////////////////////////////////////////////////////// Result:
[hys545@localhost net1]$ ./net 이 명령어의 문법:
NET [ HELP | START | STOP ]
http://bugs.winehq.org/show_bug.cgi?id=10425
YunSong Hwang hys545@dreamwiz.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|wine-console |wine-programs
http://bugs.winehq.org/show_bug.cgi?id=10425
--- Comment #1 from Lei Zhang thestig@google.com 2007-11-12 13:49:45 --- please submit your fix to wine-patches in the form of a diff.
http://bugs.winehq.org/show_bug.cgi?id=10425
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever Confirmed|0 |1 Keywords| |patch
--- Comment #2 from Lei Zhang thestig@google.com 2008-03-03 19:08:31 --- Still a problem in Wine 0.9.56. Did you ever send that patch in?
http://bugs.winehq.org/show_bug.cgi?id=10425
--- Comment #3 from Austin English austinenglish@gmail.com 2008-06-16 16:19:53 --- Created an attachment (id=14112) --> (http://bugs.winehq.org/attachment.cgi?id=14112) patch in git diff format
I'll submit it wine-patches.
http://bugs.winehq.org/show_bug.cgi?id=10425
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download
--- Comment #4 from Austin English austinenglish@gmail.com 2008-12-24 10:44:47 --- In git: austin@work:~/wine-git/programs/net$ echo $LANG ko_KR.UTF-8 austin@work:~/wine-git/programs/net$ ./net The syntax of this command is:
NET [ HELP | START | STOP | USE ]
http://bugs.winehq.org/show_bug.cgi?id=10425
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Version|CVS/GIT |unspecified
--- Comment #5 from Austin English austinenglish@gmail.com 2009-01-18 03:46:53 --- Removing deprecated CVS/GIT version tag. Please retest in current git. If the bug is still present in today's wine, but was not present in some earlier version of wine, please update version field to earliest known version of wine that had the bug. Thanks!
http://bugs.winehq.org/show_bug.cgi?id=10425
--- Comment #6 from YunSong Hwang hys545@dreamwiz.com 2009-01-19 07:07:12 --- Bug is still present
http://bugs.winehq.org/show_bug.cgi?id=10425
--- Comment #7 from YunSong Hwang hys545@dreamwiz.com 2009-01-19 07:39:51 --- I retest
This Patch is solved Bug.
http://bugs.winehq.org/show_bug.cgi?id=10425
Anders Jonsson anders.jonsson@norsjonet.se changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |anders.jonsson@norsjonet.se
--- Comment #8 from Anders Jonsson anders.jonsson@norsjonet.se 2009-06-18 13:30:57 --- Not only Korean is affected. It happens with the "scandinavian" characters øåäö as well. These characters are replaced with �.
I can confirm that the patch in comment 3 fixes the issue.
-- Output in today's Git -- $ LANG=nb_NO.UTF-8 ./net Programmet brukes som f�lger:
NET [ HELP | START | STOP USE ]
-- Output with patch applied -- $ LANG=nb_NO.UTF-8 ./net Programmet brukes som følger:
NET [ HELP | START | STOP USE ]
http://bugs.winehq.org/show_bug.cgi?id=10425
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|wine/program/net program |wine/program/net program |don't show Korea Message |doesn't support UTF-8 | |characters
http://bugs.winehq.org/show_bug.cgi?id=10425
--- Comment #9 from Anders Jonsson anders.jonsson@norsjonet.se 2009-06-18 15:31:18 --- Did some more testing.
It seems like this is a problem in most (all?) of the CLI programs that follow with wine.
Have now seen the issue in the programs start, cmd and reg as well.
http://bugs.winehq.org/show_bug.cgi?id=10425
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |DUPLICATE
--- Comment #10 from Dmitry Timoshkov dmitry@codeweavers.com 2009-06-18 22:17:22 --- Duplicate.
*** This bug has been marked as a duplicate of bug 13819 ***
http://bugs.winehq.org/show_bug.cgi?id=10425
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Dmitry Timoshkov dmitry@codeweavers.com 2009-06-18 22:17:46 --- Closing duplicate.