- Use correct table for multibyte code page

svn path=/trunk/; revision=72585
This commit is contained in:
Dmitry Chapyshev 2016-09-05 17:44:05 +00:00
parent 05a9507394
commit e8b1768ca7

View file

@ -27,6 +27,7 @@ extern USHORT NlsUnicodeDefaultChar;
extern PUSHORT NlsOemLeadByteInfo;
extern PWCHAR NlsOemToUnicodeTable;
extern PCHAR NlsUnicodeToOemTable;
extern PUSHORT NlsUnicodeToMbOemTable;
/* FUNCTIONS *****************************************************************/
@ -521,7 +522,7 @@ RtlIsValidOemCharacter(IN PWCHAR Char)
{
USHORT Offset = 0;
OemChar = NlsUnicodeToOemTable[*Char];
OemChar = NlsUnicodeToMbOemTable[*Char];
/* If character has Lead Byte */
if (NlsOemLeadByteInfo[HIBYTE(OemChar)])