win32console.SetConsoleCP

SetConsoleCP(CodePageId)

Sets the input code page for calling process's console

Parameters

CodePageId : int

The code page to set