GNU Dictionary Server
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.
This document was generated on November 21, 2016 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.