In computer science, an illegal character is a character that is not allowed by a certain programming language, protocol, or program.[1] To avoid illegal characters, some languages may use an escape character which is a backslash followed by another character.[2]