Hi,
I want to encode a string using the translate function.
decoding is well documented by
$value =~ tr/+/ /;
$value = s/%([a-fA-F0-9][a-fA-F0-9])/pack("C",hex($1))/eg;
what i would like to do is to use the translate command to replace just the
special chars into hex encoding %??
My quess was to try and convert all chars that are not normal chars but I
am not sure how to do this.
Your suggestions will be appreciated.
Best regards
Mike
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]