BOOL SetConsoleOutputCP(IDCodePage) | |||||
UINT IDCodePage; | /* Identifies the code page to set | */ |
The SetConsoleOutputCP function sets the output code page used by the console associated with the calling process. This code page is used to translate character values into the images displayed in the console window.
IDCodePage
Identifies the code page to set.
The return value is TRUE if the function was successful, or FALSE if an error occurred. Use the GetLastError function to obtain extended error information.
GetConsoleCP, SetConsoleCP, GetConsoleOutputCP