Which in effect is exactly the same as the first suggestion posted by graff.use Encode; use URI::Escape; my $a ='ab%C3%A5cd%3C/H4%3E%0D%0A'; $a = uri_unescape($a); print decode('utf8', $a);
In reply to Re: javascript encodeURI() -> perl uri_unescape_utf8() ?
by nkropols
in thread javascript encodeURI() -> perl uri_unescape_utf8() ?
by nkropols
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |