Module: wine Branch: master Commit: b47379c1f8aa323f04f178dc38baa3df85e4af41 URL: https://source.winehq.org/git/wine.git/?a=commit;h=b47379c1f8aa323f04f178dc3...
Author: Alexandre Julliard julliard@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@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;