deleted the first post as it was little confusing... Actually following XML is result of the call http://[googlemaps]/maps/geo?oe=utf-8&q=tokyo&output=xml
<?xml version="1.0" encoding="UTF-8" ?> <kml xmlns="http://earth.google.com/kml/2.0"> <Response> <name>tokyo</name> <Status> <code>200</code> <request>geocode</request> </Status> <Placemark id="p1"> <address>Tōkyō Metropolis, Japan</address> ..... the <address> from above is used to get the geo-locations, but because of special characters in "Tōkyō .." it gives me 400. i tried diff combinations of encoding like utf-8, latin1 etc...but no luck.. hope i am clear now... On Mar 27, 5:05 pm, Andrew Leach <[email protected]> wrote: > On Mar 27, 11:20 am, Mandy <[email protected]> wrote: > > > > > Thanks in advance. > > For what? > > The XML you quote clearly shows a status of 200. XML isn't used in > getLocations() -- it returns JSONP and Tokyo (complete with o-macrons) > works perfectly happily. I don't see where a status of 400 comes into > it. > > It really would help if you provided a URL as the posting guidelines > request -- or [since you appear to be using the SSL site] ask your > Premier support representative. I can't make Tokyo go wrong. -- 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.
