From 25ff59d7a93d431d3e60ec2116b1ef2f139d424b Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 22 Mar 2019 13:05:48 +0100 Subject: [PATCH] ntdll: Default to 7-bit ASCII before codepages are initialized. Signed-off-by: Alexandre Julliard --- dlls/ntdll/rtlstr.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/dlls/ntdll/rtlstr.c b/dlls/ntdll/rtlstr.c index 190bc0176be..e834ad24403 100644 --- a/dlls/ntdll/rtlstr.c +++ b/dlls/ntdll/rtlstr.c @@ -44,8 +44,10 @@ UINT NlsAnsiCodePage = 0; BYTE NlsMbCodePageTag = 0; BYTE NlsMbOemCodePageTag = 0; -static const union cptable *ansi_table; -static const union cptable *oem_table; +extern const union cptable cptable_20127; /* 7-bit ASCII */ + +static const union cptable *ansi_table = &cptable_20127; +static const union cptable *oem_table = &cptable_20127; static const union cptable* unix_table; /* NULL if UTF8 */