On Aug 26, 3:03 pm, "[email protected]" <[email protected]>
wrote:
> On Aug 26, 1:15 pm, Fernando Torres <[email protected]> wrote:> Dears,
>
> > I'm requesting one geocode with a string request like this
>
> >http://maps.google.com/maps/geo?output=json&sensor=false&key=abcdefg&;...,
> > 945, belo horizonte, mg, brazil
>
> > Google returns a json but when I treat this json with json_decode in my PHP
> > script, it returns NULL like this was a invalid json string.
>
> > Someone had got this same problem or I'm doing mistakes?
>
> Is your PHP set up to handle the correct character encoding? (or are
> you requesting the character encoding that you need)
> "address": "R. Cristina, 945 - São Pedro, Belo Horizonte - MG,
> 30330-130, Brazil",

BTW - it looks like the geocoder returns 3 results for that input:
http://www.geocodezip.com/example_geo2.asp?addr1=945,%20belo%20horizonte,%20mg,%20brazil&geocode=1

   -- Larry

--~--~---------~--~----~------------~-------~--~----~
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