Displaying 2 results from an estimated 2 matches for "fputws".
Did you mean:
fputs
2014 Sep 12
2
win_utf8_io.c: Use fputws instead of fwprintf
...ntf expects that %s is wide char string, but for not MSVCRT, this is not true.
When using -D__USE_MINGW_ANSI_STDIO=1 on MINGW, mingw doesn't use MSVCRT.
Therefore, compiling on mingw with -D__USE_MINGW_ANSI_STDIO=1 and redirecting stderr to a file, the printing result is corrupt.
We should use fputws simply.
A patch is attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-win_utf8_io.c-Use-fputws-instead-of-fwprintf.patch
Type: application/octet-stream
Size: 823 bytes
Desc: not available
Url : http://lists.xiph.org/pipermail/flac-dev/at...
2013 Jan 18
0
Wine release 1.5.22
...msvcrt: Added UTF8 support to read function.
msvcrt: Added read tests on unicode files.
msvcrt: Make fputwc encoding aware.
msvcrt: Added fputwc tests.
msvcrt: Use fputwc to output characters to file in fprintf functions.
msvcrt: Don't add '\r' character in fputws function.
msvcrt: Fixed ftell behaviour when file is opened for writing in text mode.
msvcrt: Added fwprintf tests.
msvcrt: Be less strict while parsing file open mode in fopen function.
msvcp90: Added complex<{float, double, long double}> constructors implementation....