Function edhex_core::num_graphemes[][src]

pub fn num_graphemes(unicode_string: &str) -> usize
Expand description

.len gives the number of bytes .chars.count() gives the number of characters (which counts è as two characters. The human concept is unicode “graphemes” or “glyphs” defined to be what think they are.