richard_mortimer has asked for the wisdom of the Perl Monks concerning the following question:
The problems are encountered when the UTF16 character (eg %u2030) are encountered, which are not correctly unescaped back to the character they are meant to represent. Am I using the correct module for this function? Or am I better to write a series of Regex's that do something like:$tmp ="IPPQY%FF%B3M/%u2030%u2014s%FE%07%8D%1E%D3%27j ... [snip]";
If the latter is the case, could someone point me to a URL that lists these codes and their appropriate hex values. Thanks for your time - my sanity can still be saved ... !! Richard$tmp2 =~ s/\%u2030/\x137/gi;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Decoding MIME headers with URI::Escape for extended character set
by hawtin (Prior) on Apr 01, 2003 at 08:16 UTC | |
|
Re: Decoding MIME headers with URI::Escape for extended character set
by Lhamo Latso (Scribe) on Apr 01, 2003 at 08:16 UTC |