fn ascii_check(c: char, is_byte: bool) -> Result<char, EscapeError>