aboutsummaryrefslogtreecommitdiff
path: root/utf.h
AgeCommit message (Collapse)Author
2021-10-20utf: Change argument orderMichael Forney
Also, make utf8dec take unsigned char * to avoid overflow when converting to signed char.
2021-08-15utf: Use C99 types for UTF-16/32 character instead of C11 char16_t/char32_tMichael Forney
Some operating systems do not support uchar.h, and glibc only defines char16_t/char32_t for GNU C compilers.
2021-07-06Add functions for encoding/decoding UTF-8/16Michael Forney
These will be needed to implement wide string literals.