Commit 3ee0a4fd authored by Michael Smith's avatar Michael Smith
Browse files

Some other win32 fix.

svn path=/trunk/vorbis-tools/; revision=1888
parent 88d4c710
......@@ -46,7 +46,7 @@ int utf8_encode(char *from, char **to, const char *encoding)
return 1;
err = MultiByteToWideChar(GetConsoleCP(), MB_PRECOMPOSED, from,
err = MultiByteToWideChar(CP_ACP, MB_PRECOMPOSED, from,
strlen(from), unicode, wchars);
if(err != wchars)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment