I know that is good enough to eliminate ISO-8859-1 but I'm not sure of other encodings. Should I be using some module's function? If so, which one?$str !~ /[\x80-\xff]/;
In reply to testing if a string is ascii by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |