SetFileApisToOEM()
Causes a set of Win32 file functions to use the OEM character set code page. This function is useful for 8-bit console input and output operations.