[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
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

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