http://bugs.winehq.org/show_bug.cgi?id=8598
--- Comment #14 from Colin Finck mail@colinfinck.de 2011-03-30 04:06:54 CDT --- (In reply to comment #13)
Is this still an issue in current (1.3.16 or newer) wine?
As long as MSVCRT_fputwc remains a four-liner passing everything unmodified to MSVCRT_fwrite, the problem persists. If the rest of your stream handling is correct, you can try to adapt the patch at [1].
For ReactOS, we have also rewritten the printf-style functions stream-based. Therefore they all call fputwc at the end and we don't need another change. Your printf functions still call fwrite and therefore require a similar conversion for the Unicode printf functions. _putws may also be a candidate, needs more investigation.
[1] http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/crt/stdio/file.c?r1...