mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Characters outside the BMP cannot be converted to Latin 1 string encoding
This commit is contained in:
parent
6b455a589d
commit
bc285396da
4 changed files with 88 additions and 28 deletions
|
@ -168,6 +168,7 @@ lengthUTF8(const uint8_t *p, unsigned l, BOOL *ascii, BOOL *latin1)
|
|||
else
|
||||
{
|
||||
l += 2;
|
||||
l1 = NO;
|
||||
}
|
||||
}
|
||||
if (0 != ascii)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue