Commit 8f06c1c6 authored by Eric Pouech's avatar Eric Pouech Committed by Alexandre Julliard

attrib: Use OEM code page for output.

parent a596da54
......@@ -104,7 +104,7 @@ static int WINAPIV ATTRIB_wprintf(const WCHAR *format, ...)
}
/* Convert to OEM, then output */
convertedChars = WideCharToMultiByte(CP_ACP, 0, output_bufW,
convertedChars = WideCharToMultiByte(GetOEMCP(), 0, output_bufW,
len, output_bufA, MAX_WRITECONSOLE_SIZE,
"?", &usedDefaultChar);
WriteFile(GetStdHandle(STD_OUTPUT_HANDLE), output_bufA, convertedChars,
......
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