Characters outside the BMP cannot be converted to Latin 1 string encoding

This commit is contained in:
Wolfgang Lux 2017-07-10 10:16:27 +02:00
parent 6b455a589d
commit bc285396da
4 changed files with 88 additions and 28 deletions

View file

@ -168,6 +168,7 @@ lengthUTF8(const uint8_t *p, unsigned l, BOOL *ascii, BOOL *latin1)
else
{
l += 2;
l1 = NO;
}
}
if (0 != ascii)