Skip to main content

utf8_strlen

Function utf8_strlen 

Source
pub const unsafe fn utf8_strlen(utf: *const xmlChar) -> c_int
Expand description

Return the number of UTF-8 characters in a string (upstream xmlUTF8Strlen).

ยงSafety

  • utf must be a valid null-terminated UTF-8 string.