[tpm] Handling utf8/unicode in strings (I think?)

J. Bobby Lopez jbl at jbldata.com
Fri Nov 12 13:24:44 PST 2010

I'm outputting a string in perl, and it shows up something like this:

"won\u00e2\u0080\u0099t easily play well "

Where it should be like this:

"won't easily play well"

I thought it was a terminal issue... and that was partially true.  I ran mc
on this particular terminal, and the curses UI was all garbled.  So I fixed
that be reconfiguring my locales, but perl is still outputing the noise

Anyone know how I'm supposed to handle this?

I came accross Search::Tools::Transliterate, but that just seems overkill.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/toronto-pm/attachments/20101112/9a3bd1bd/attachment.html>

More information about the toronto-pm mailing list