I believe the answer is to use the extended character classes (eg ":alnum:"), and to also say "use utf8" within your script.
In reply to Re: untainting and locales and internationalisation
by dtr
in thread untainting and locales and internationalisation
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |