pub const unsafe fn utf8_strlen(utf: *const xmlChar) -> c_intExpand description
Return the number of UTF-8 characters in a string (upstream
xmlUTF8Strlen).
ยงSafety
utfmust be a valid null-terminated UTF-8 string or NULL (NULL returns -1, matching upstream xmlstring.cxmlUTF8Strlen).