mirror of
https://github.com/ONLYOFFICE/core.git
synced 2026-04-07 13:55:33 +08:00
utf16->unicode bug
This commit is contained in:
@ -171,6 +171,7 @@ namespace NSStringExt
|
||||
if (nTrailing >= 0xDC00 && nTrailing <= 0xDFFF)
|
||||
{
|
||||
*pCur = (wchar_t)(((nLeading & 0x03FF) << 10) | (nTrailing & 0x03FF));
|
||||
*pCur += 0x10000;
|
||||
pCur++;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user