fn char_range_at(s: &str, pos: usize) -> (char, usize)