diff options
author | Michael Forney <mforney@mforney.org> | 2021-10-20 14:08:27 -0700 |
---|---|---|
committer | Michael Forney <mforney@mforney.org> | 2021-10-20 14:10:44 -0700 |
commit | e7cbbfbd5a8c8fdbbec30e4b78d2e21ade637fad (patch) | |
tree | 7de12ce9c63e329dfd0ef279cfc37a157958a6c6 /init.c | |
parent | af3f4c14ee752afde7eb5d3aeb7038a66a8ed298 (diff) |
utf: Detect invalid codepoints
Also, make utf*enc assert that the codepoint is valid and return 0
for an invalid codepoint. This makes it possible to use safely
without error checking. We intend that these functions will only
be called with valid codepoints.
Diffstat (limited to 'init.c')
0 files changed, 0 insertions, 0 deletions