XP is just a number | |
PerlMonks |
string conversion problemby stormbow (Initiate) |
on Mar 07, 2013 at 05:48 UTC ( [id://1022149]=perlquestion: print w/replies, xml ) | Need Help?? |
stormbow has asked for the wisdom of the Perl Monks concerning the following question: I have a text string like the following one: %E4%BA%8E%E6%96%AF%E5%B1%88%E8%BE%BE%E5%B0%94 I know this is probably a utf-8 encoded Chinese phrase, or more precisely, a Chinese name for a Turkey place:) Now, how can I get the actual Chinese character string out of this percent-encoded gibberish? Tried URI::Escape::uri_unescape() but it didn't produce the right result. Tried Encode::decode() but that doesn't work either. Can anyone help?
Back to
Seekers of Perl Wisdom
|
|