|
|
| laziness, impatience, and hubris | |
| PerlMonks |
Re: Replacing non ascii in stringby Kenosis (Deacon) |
| on Jan 30, 2013 at 05:04 UTC ( #1015961=note: print w/ replies, xml ) | Need Help?? |
|
Perhaps Text::Unidecode would be helpful (please forgive the lack of complete code formatting, as doing so eliminates displaying the characters the module decodes):
my $string = q/‘ and ’ “ and ” and ä/;
Output: ' and ' " and " and a
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||