mirror of
https://github.com/reactos/reactos.git
synced 2025-04-25 08:00:24 +00:00
Fix UTF-8 -> Wide Char conversion bug #3990.
svn path=/trunk/; revision=38459
This commit is contained in:
parent
cb89e7b0bd
commit
d3c81b34be
1 changed files with 1 additions and 1 deletions
|
@ -379,7 +379,7 @@ IntMultiByteToWideCharUTF8(DWORD Flags,
|
|||
WideChar = Char & UTF8Mask[Length];
|
||||
while (Length && MultiByteString < MbsEnd)
|
||||
{
|
||||
WideChar = (WideChar << 6) | *MultiByteString++;
|
||||
WideChar = (WideChar << 6) | (*MultiByteString++ & 0x7f);
|
||||
Length--;
|
||||
}
|
||||
*WideCharString++ = WideChar;
|
||||
|
|
Loading…
Reference in a new issue