Re: URL encode/decode problem

From: Date: Mon, 13 Sep 2004 15:35:58 +0000
Subject: Re: URL encode/decode problem
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-196515@lists.php.net to get a copy of this message
I changed the JScript to encode data not as unicode - now it code data as "%20%2B%20". But when I get data with $_REQUEST["var"] - I loose symbol "+" - with code "%2B". "Greg Donald" <destiney@gmail.com> wrote in message news:ea9da26c040913073566e23f5@mail.gmail.com... > On Mon, 13 Sep 2004 17:21:48 +0300, Rosen <rosen@pernikinfo.com> wrote: > > It will not work - Javascript function "escape()" return string as unicode > > data - something like "%u0431%u043E%u044F". > > Well, normally I'd say urldecode() but I don't think it handles > unicode, so you may wanna check out the multi-byte string functions: > > http://www.php.net/manual/en/ref.mbstring.php > > -- > Greg Donald > http://destiney.com/

« previous php.general (#196515) next »