note 68307 added to function.urlencode
| From: | peter at mailinator dot com | Date: | Fri, 21 Jul 2006 18:11:28 +0000 |
| Subject: | note 68307 added to function.urlencode | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-115018@lists.php.net to get a copy of this message | ||
Be carefull when using this function with JavaScript escape function.
In JavaScript when you try to encode utf-8 data with escape function you will get some strange
encoded string which you wont be able to decode with php url(de)encode funtions.
I found a website which has some very good tool regarding this problem: http://www.webtoolkit.info/
It has components which deal with url (en)decode.
----
Server IP: 193.219.81.76
Probable Submitter: 84.32.56.243
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.urlencode.php
Edit -- http://master.php.net/note/edit/68307
Del: integrated -- http://master.php.net/note/delete/68307/integrated
Del: useless -- http://master.php.net/note/delete/68307/useless
Del: bad code -- http://master.php.net/note/delete/68307/bad+code
Del: spam -- http://master.php.net/note/delete/68307/spam
Del: non-english -- http://master.php.net/note/delete/68307/non-english
Del: in docs -- http://master.php.net/note/delete/68307/in+docs
Del: other reasons-- http://master.php.net/note/delete/68307
Reject -- http://master.php.net/note/reject/68307
Search -- http://master.php.net/manage/user-notes.php