Hi On MSVCRT, wprintf 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.
0001-win_utf8_io.c-Use-fputws-instead-of-fwprintf.patch
Description: Binary data
_______________________________________________ flac-dev mailing list [email protected] http://lists.xiph.org/mailman/listinfo/flac-dev
