win32console.SetConsoleOutputCP

SetConsoleOutputCP(CodePageID)

Sets the output code page for calling process's console

Parameters

CodePageID : int

The code page to set