laziness, impatience, and hubris | |
PerlMonks |
Unidecode fails printing french accentsby edgreenberg (Acolyte) |
on Jun 16, 2015 at 16:18 UTC ( [id://1130630]=perlquestion: print w/replies, xml ) | Need Help?? |
edgreenberg has asked for the wisdom of the Perl Monks concerning the following question:
I have variables containing a unicode character C3 A9. The line looks like this:
When I run this through Text::Unidecode, instead of getting accorde-with-acute-accent I get A(c).
I have:
and later (roughly): $var = unidecode($var) Debugging shows that the variable is changed by the unidecode function: I would expect a lower case 'e' as I had before this program was ported from 5.6.1 to 5.8.8 (and from freebsd to linux) Any idea what I can do to correct this? The output is filenames that generate URLs, and the customer wants to match what she had before so as not to change the URLs in Google. Thanks, Ed Greenberg
Back to
Seekers of Perl Wisdom
|
|