Perhaps Text::Unidecode would be helpful (please forgive the lack of complete code formatting, as doing so eliminates displaying the characters the module decodes):
use strict; use warnings; use utf8; use Text::Unidecode;
my $string = q/‘ and ’ “ and ” and ä/;
print unidecode($string);
Output:
' and ' " and " and a
In reply to Re: Replacing non ascii in string
by Kenosis
in thread Replacing non ascii in string
by IanD
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |