win32console
.GetConsoleOutputCP
int =
GetConsoleOutputCP(
)
Returns the output code page for calling process's console