in reply to Replacing non ascii in string
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 Section
Seekers of Perl Wisdom