any of various circumstances where an invalid or unexpected token causes errors, or otherwise invalidates a data stream
Overview
Illegal characters refers to any of various circumstances where an invalid or unexpected token causes errors, or otherwise invalidates a data stream.
In this context, a token could be a keyword, an operator, or a punctuation mark.
In this context, an error could be any circumstance that violates an established processing rule or convention, such as the syntax rules for a programming language, or the encoding rules for a specific file type.