Re: [start][start] Output with console encoding

2007-02-19 Thread Vitaliy Margolen
Anatoly Lyutin wrote: Vitaliy Margolen wrote: Changelog: Fix output console to output with console encoding. static void output(const char *message) This is not correct. This function and everything else, using it should be rewritten as unicode, not ansi. Also you should use

RE: [start][start] Output with console encoding

2007-02-18 Thread Vitaliy Margolen
Changelog: Fix output console to output with console encoding. static void output(const char *message) Index: programs/start/start.c === RCS file: /home/wine/wine/programs/start/start.c,v retrieving revision 1.5 diff -u -p -u

Re: [start][start] Output with console encoding

2007-02-18 Thread Dmitry Timoshkov
Anatoly Lyutin [EMAIL PROTECTED] wrote: @@ -33,7 +33,20 @@ static void output(const char *message) { DWORD count; - WriteFile(GetStdHandle(STD_OUTPUT_HANDLE), message, strlen(message), count, NULL); + WCHAR *bufW; + char *bufC; + int len = strlen(message); + bufW =