Hi,

You should post this question into a general PHP forum or mailing list.

PHP's urlencode and urldecode have no problem with cp1251 encoding and
decoding. Are you sure that your page encoding is correct?


Regards,

Dinh

On Fri, Apr 16, 2010 at 11:21 AM, Cuong Vo Viet <vovietcu...@gmail.com>wrote:

> My function
>
> function view($slug=null){
>
> echo $slug;
>
> }
>
> enter url:
>
> -> products/view/университетски
>
> or:
>
> -> products/view/%d1%83%d0%bd
> %d0%b8%d0%b2%d0%b5%d1%80%d1%81%d0%b8%d1%82%d0%b5%d1%82%d1%81%d0%ba
> %d0%b8
>
> pr(urlencode($slug)); -> %D1
>
> if true, it's: %d1%83%d0%bd
> %d0%b8%d0%b2%d0%b5%d1%80%d1%81%d0%b8%d1%82%d0%b5%d1%82%d1%81%d0%ba
> %d0%b8
>
> why, pls help me !
>
> I'm using: cake 1.2.6, apache 2.2.15 and mysql 5.1


-- 
Spica Framework: http://code.google.com/p/spica
http://www.twitter.com/pcdinh
http://groups.google.com/group/phpvietnam

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to
cake-php+unsubscr...@googlegroups.com For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to