Go Back   CodingForums.com > :: Server side development > PHP

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-19-2005, 10:35 AM   PM User | #1
delpino
New to the CF scene

 
Join Date: Jun 2005
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
delpino is an unknown quantity at this point
php urlencode different from Googles urlencoding?

Hello

if I search special characters on Google, like umlauts or chinese characters it will convert it to something like this:

q=%C3%84

This will be shown if I search for the "A umlaut" (Ä).

If I try the same with php to urlencode the "A umlaut":

echo urlencode('Ä')

The result is not %C3%84 but %C4

Anybody knows why?

PS: If I urlencode a "question mark" both Google and php urlencode is the same. But other are different like the umlauts or chinese characters. Also Wikipedia uses the same encoding like Google.

Last edited by delpino; 07-19-2005 at 10:40 AM..
delpino is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 02:32 PM.


Advertisement
Log in to turn off these ads.