Agreed. Though things that have problems with "8-bit characters" often also have problems with nul bytes and some control characters so you might consider /[^ -~\s]/ which leaves out nul, "\x7f", and all of the control characters except for the usual "\t\f\r\n". Just depends on what you need. (:
- tye (but my friends call me "Tye")In reply to (tye)Re: How do I determine if a string contains non ascii characters
by tye
in thread How do I determine if a string contains non ascii characters
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |