[Bug 8598] msvcrt file IO functions do not handle unicode properly in text mode

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Mar 30 04:06:55 CDT 2011


--- Comment #14 from Colin Finck <mail at 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.


Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.

More information about the wine-bugs mailing list