From b47379c1f8aa323f04f178dc38baa3df85e4af41 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Tue, 12 Apr 2022 21:39:14 +0200 Subject: [PATCH] ntdll: Default to UTF-8 codepage at startup. Signed-off-by: Alexandre Julliard --- dlls/ntdll/locale.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/ntdll/locale.c b/dlls/ntdll/locale.c index 609573b71cb..36fe3e92863 100644 --- a/dlls/ntdll/locale.c +++ b/dlls/ntdll/locale.c @@ -40,7 +40,7 @@ BYTE NlsMbCodePageTag = 0; BYTE NlsMbOemCodePageTag = 0; static const WCHAR *locale_strings; -static NLSTABLEINFO nls_info; +static NLSTABLEINFO nls_info = { { CP_UTF8 }, { CP_UTF8 } }; static struct norm_table *norm_tables[16]; static const NLS_LOCALE_LCID_INDEX *lcids_index; static const NLS_LOCALE_LCNAME_INDEX *lcnames_index; -- 2.11.4.GIT