[start][start] Output with console encoding

Vitaliy Margolen wine-devel at kievinfo.com
Mon Feb 19 22:49:57 CST 2007

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
>> HeapAlloc/HeapFree.
> This program works with 8-bits strings and rewritten all "start" to
> unicode is precocious because wineconsole now not yet support unicode in
> curses mode (I`m working on it) :)
All you need to do is to convert output() function and all callers into
WCHAR. Then you can do whatever magic you need inside of output(). Then
you can properly load resources and deal with them properly until the
step you need to display them.


More information about the wine-devel mailing list