From c6605905678c3bcac03a8d6364ea5e5f4b06bd85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Mon, 17 Jan 2022 16:16:10 +0100 Subject: [PATCH] [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,