use URI::Escape; $str = uri_unescape("%c2 %a2"); print "$str";