|
| size_t | u8_toucs (uint32_t *dest, size_t sz, const char *src, size_t srcsz) |
| size_t | u8_toutf8 (char *dest, size_t sz, const uint32_t *src, size_t srcsz) |
| size_t | u8_wc_toutf8 (char *dest, uint32_t ch) |
| size_t | u8_offset (const char *str, size_t charnum) |
| size_t | u8_charnum (const char *s, size_t offset) |
| uint32_t | u8_nextchar (const char *s, size_t *i) |
| uint32_t | u8_nextmemchar (const char *s, size_t *i) |
| void | u8_inc (const char *s, size_t *i) |
| void | u8_dec (const char *s, size_t *i) |
| size_t | u8_seqlen (const char *s) |
| size_t | u8_charlen (uint32_t ch) |
| size_t | u8_codingsize (uint32_t *wcstr, size_t n) |
| char | read_escape_control_char (char c) |
| size_t | u8_read_escape_sequence (const char *src, size_t ssz, uint32_t *dest) |
| size_t | u8_unescape (char *buf, size_t sz, const char *src) |
| int | octal_digit (char c) |
| int | hex_digit (char c) |
| char * | u8_strchr (const char *s, uint32_t ch, size_t *charn) |
| char * | u8_memchr (const char *s, uint32_t ch, size_t sz, size_t *charn) |
| char * | u8_memrchr (const char *s, uint32_t ch, size_t sz) |
| size_t | u8_strlen (const char *s) |
| int | u8_isvalid (const char *str, size_t length) |
| int | u8_reverse (char *dest, char *src, size_t len) |
Utilities from cutef8: https://github.com/JeffBezanson/cutef8
- Note
- Its current README says, "I now use and recommend utf8proc instead of
this library."
-
Some unused functions (and supporting polyfills, macro tweaks) have been removed. In the unlikely event more cutef8 features are required, check earlier revisions in git.
Definition in file utf8.h.