Hi!
Mit Perlscript kann ich schon dienen.
sub uri_unescape
{
# Note from RFC1630: "Sequences which start with a percent sign
# but are not followed by two hexadecimal characters are reserved
# for future extension"
my @copy = @_;
for (@copy) { s/%([\dA-Fa-f]{2})/chr(hex($1))/eg; }
wantarray ? @copy : $copy[0];
}
Stolen from URI::Escape. :)
Dann ist $entcodiert = uri_unescape($codiert); das was du suchst.
Zumindest sollte es funktionieren. Sonst mußte dich eben per
use URI::Escape;
bedienen.
CU
ArneB