PrintableASCIIQ
PrintableASCIIQ[string] yields True if the string contains only printable ASCII characters, and yields False otherwise.
Printable ASCII characters are those with codes 32-126 (space through tilde).
Examples
PrintableASCIIQ["Hello, World!"]PrintableASCIIQ["Hello\nWorld"]PrintableASCIIQ["café"]*See the official Wolfram Language Reference for more details.