fn ascii_check(first_char: char, mode: Mode) -> Result<char, EscapeError>