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.
- Function: size_t utf8_wc_strlen (const unsigned *s)
Returns number of wide characters in the wide character string s.
This document was generated on September 4, 2020 using makeinfo.Verbatim copying and distribution of this entire article is permitted in any medium, provided this notice is preserved.