I'm running a site with a database containing international addresses.
Predictably, I'm using UTF-8 across the board internally. I want to
know what the proper encoding mechanism is for geocoding GET requests.

Currently, I am URL-encoding the UTF-8 string. This practice seems to
work on my presently limited test dataset, but I haven't seen
documentation indicating whether it is correct...

For example, if I were searching for the address 你好, I would use the
request:
GET /maps/api/geocode/json?address=%E4%BD%A0%E5%A5%BD&sensor=false

Also, I haven't controlled for any HTTP headers sent by my scripts -
is there a header I should override to indicate the character encoding
of the url-decoded parameter?

Thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"Google Maps API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-maps-api?hl=en.

Reply via email to