PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
Moderator: General Moderators
pedrotuga
Forum Contributor
Posts: 249 Joined: Tue Dec 13, 2005 11:08 pm
Post
by pedrotuga » Mon Dec 11, 2006 12:45 pm
this is strange.
URL encode codes
as
but, on google, wikipedia and others it's being coded as:
i want to use this second kind of encoding and i can't
can anybody tell me why?
and how can i do it?
feyd
Neighborhood Spidermoddy
Posts: 31559 Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA
Post
by feyd » Mon Dec 11, 2006 12:47 pm
It's UTF-8 encoding.
pedrotuga
Forum Contributor
Posts: 249 Joined: Tue Dec 13, 2005 11:08 pm
Post
by pedrotuga » Mon Dec 11, 2006 12:51 pm
feyd wrote: It's UTF-8 encoding.
Ok... so which function should i use instead of urlencode() ?
aparently is still encoding all those chars the old way.
pedrotuga
Forum Contributor
Posts: 249 Joined: Tue Dec 13, 2005 11:08 pm
Post
by pedrotuga » Mon Dec 11, 2006 4:10 pm
thank you mates, problem solved.