It is not perfect (accented characters come out as their non-accented form)
Easily fixed
$text =~ s/(\P{Latin}+)/unidecode("$1")/ge;
In reply to Re^2: Removing Unsafe Characters
by ikegami
in thread Removing Unsafe Characters
by Praethen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |