I have a form on one page:
One of the input fi
A solution that preserves the + and any other character in the original string:
+
my $s = '%41F%2F%424+%41F%41E%414%416%410%420%41A%410+%418%417+%421%412%418%41D'; $s =~ s/%([[:xdigit:]]+)/chr(hex($1))/eg; print $s;
Result:
П/Ф+ПОДЖАРКА+ИЗ+СВИН