ntdll: Default to 7-bit ASCII before codepages are initialized.

Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alexandre Julliard 2019-03-22 13:05:48 +01:00
parent 7fc9e45dd8
commit 25ff59d7a9
1 changed files with 4 additions and 2 deletions

View File

@ -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 */