cesu8
pub fn encoded_len(str: &str) -> usize
Given a string slice, this function returns how many bytes in CESU-8 are required to encode the string slice.