Hi all,

there seems to be a slight difference between the function urlencode from php and the uri_escape in perl:

the encoded result of "test !"§$%&/()=" is different:
in php: test+%21%22%A7%24%25%26%2F%28%29%3D
in perl: test%20%21%22%3F%24%25%26%2F%28%29%3D

The difference is the space: in php it becomes a "+", in perl a "%20". Which one is (academic) correct and can perl be told to behave just as php does?

Thanks for any answer!
Peter

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to