[USETUP] Default to en-US output codepage when initializing the console. Addendum to commit 9f201d462.

Reported by julenuri.
This commit is contained in:
Hermès Bélusca-Maïto
2022-01-17 16:16:10 +01:00
parent 4bec8ff63e
commit c660590567

View File

@@ -113,6 +113,9 @@ AllocConsole(VOID)
return FALSE;
}
/* Default to en-US output codepage */
SetConsoleOutputCP(437);
/* Open the keyboard */
InitializeObjectAttributes(&ObjectAttributes,
&KeyboardName,