Using the Gecoding API, google maps has begun to return certain city
names with a cryillic character set.  Here's an example:

curl 'http://maps.google.com/maps/geo?q=Natik,
+MA&output=json&oe=utf8&sensor=false&tld=us'

{
  "name": "Natik, MA",
  "Status": {
    "code": 200,
    "request": "geocode"
  },
  "Placemark": [ {
    "id": "p1",
    "address": "Natick, MA, USA",
    "AddressDetails": {
   "Accuracy" : 4,
   "Country" : {
      "AdministrativeArea" : {
         "AdministrativeAreaName" : "MA",
         "SubAdministrativeArea" : {
            "Locality" : {
               "LocalityName" : "Нейтик"
            },
            "SubAdministrativeAreaName" : "Middlesex"
         }
      },
      "CountryName" : "USA",
      "CountryNameCode" : "US"
   }
},
    "ExtendedData": {
      "LatLonBox": {
        "north": 42.4153708,
        "south": 42.1512119,
        "east": -71.0933844,
        "west": -71.6056220
      }
    },
    "Point": {
      "coordinates": [ -71.3495032, 42.2834298, 0 ]
    }
  } ]
}

I've got the gl set as "US" and the encoding to UTF-8, but it seems
odd to get back "Natik, MA" as "Нейтик" for the locality name.  Am I
passing something incorrectly?

- scott

--

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=.


Reply via email to