https://git.reactos.org/?p=reactos.git;a=commitdiff;h=c6605905678c3bcac03a8…
commit c6605905678c3bcac03a8d6364ea5e5f4b06bd85
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Mon Jan 17 16:16:10 2022 +0100
Commit: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
CommitDate: Mon Jan 17 16:16:10 2022 +0100
[USETUP] Default to en-US output codepage when initializing the console. Addendum to
commit 9f201d462.
Reported by julenuri.
---
base/setup/usetup/console.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/base/setup/usetup/console.c b/base/setup/usetup/console.c
index 5cbcf839be1..2097a59193c 100644
--- a/base/setup/usetup/console.c
+++ b/base/setup/usetup/console.c
@@ -113,6 +113,9 @@ AllocConsole(VOID)
return FALSE;
}
+ /* Default to en-US output codepage */
+ SetConsoleOutputCP(437);
+
/* Open the keyboard */
InitializeObjectAttributes(&ObjectAttributes,
&KeyboardName,