D.10.1 Character sizes
- Function: size_t utf8_char_width (const unsigned char *cp)
Returns length in bytes of the UTF-8 character representation pointed to by cp.
- Function: size_t utf8_strlen (const char *str)
Returns number of UTF-8 characters (not bytes) in str.
- Function: size_t utf8_wc_strlen (const unsigned *s)
Returns number of wide characters in the wide character string s.