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?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: string conversion problem
by Your Mother (Archbishop) on Mar 07, 2013 at 06:07 UTC | |
by Anonymous Monk on Mar 07, 2013 at 07:27 UTC | |
by Your Mother (Archbishop) on Mar 07, 2013 at 17:05 UTC | |
|
Re: string conversion problem
by aitap (Curate) on Mar 07, 2013 at 07:36 UTC | |
|
Re: string conversion problem
by Khen1950fx (Canon) on Mar 07, 2013 at 06:06 UTC | |
|
Re: string conversion problem
by stormbow (Initiate) on Mar 08, 2013 at 02:43 UTC |