Thanks!  That did the trick.  I didn't see this option in the
documentation.

http://code.google.com/apis/maps/documentation/geocoding/

Is it out of date?

- scott

On Nov 9, 1:44 pm, Marcelo <[email protected]> wrote:
> Use 
> &hl=enhttp://maps.google.com/maps/geo?q=Natik,+MA&output=json&oe=utf8&senso...
>
> --
> Marcelo -http://maps.forum.nu
> --
>
> On Nov 9, 10:19 pm, Scott Windsor <[email protected]> wrote:
>
>
>
> > Using the Gecoding API, google maps has begun to return certain city
> > names with acryilliccharacter 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