Alexandre Julliard : ntdll: Default to UTF-8 codepage at startup.
Alexandre Julliard
julliard at winehq.org
Tue Apr 12 15:35:15 CDT 2022
Module: wine
Branch: master
Commit: b47379c1f8aa323f04f178dc38baa3df85e4af41
URL: https://source.winehq.org/git/wine.git/?a=commit;h=b47379c1f8aa323f04f178dc38baa3df85e4af41
Author: Alexandre Julliard <julliard at winehq.org>
Date: Tue Apr 12 21:39:14 2022 +0200
ntdll: Default to UTF-8 codepage at startup.
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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;
More information about the wine-cvs
mailing list