Skip to content

libunicode 0.9.5

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Nov 14:18

from_utf8() and scan_text() now enforce well-formed UTF-8 per Unicode Table 3-7 (overlong encodings, surrogates and code points above U+10FFFF are rejected; one U+FFFD per maximal subpart). New: from_utf8_left_byte_unconsumed() helper and LIBUNICODE_FROM_UTF8_STRICT feature macro. Callers must re-feed a byte that ended an ill-formed sequence when the helper says it was not consumed. (#160)