delpino
07-19-2005, 10:35 AM
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.
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.