fn byte_index_from_char_index(s: &str, char_index: usize) -> usize