See
http://code.google.com/apis/maps/documentation/geocoding/index.html#GeocodingRequests

You should explicity request your required encoding - not specifiying
it actully results in a mixed file.

On 01/07/2009, Marc <[email protected]> wrote:
>
>  Hi,
>
>  I've been using the Geocoding sample example for geocoding some
>  addresses (http://code.google.com/intl/nl/apis/maps/articles/
>  phpsqlgeocode.html), but I've encountered a problem.
>
>  Some adresses (based on city and country) work perfectly, but for some
>  I get the error "Input is not proper UTF-8".
>
>  The actual error in my browser that I get is:
>
>  Warning: simplexml_load_file() [function.simplexml-load-file]:
>  
> http://maps.google.nl/maps/geo?output=xml&key=ABQIAAAAOn4EtB6OwszY-eHp2_JYtxQM7B2JM0OGylXQIM2VckaDx2AulhTTPXE4QYyfFqLt9ahIAPZz8XFcvg&q=Agios+Gordios+Griekenland:9:
>  parser error : Input is not proper UTF-8, indicate encoding ! Bytes:
>  0xED 0x64 0x61 0x20 in D:\development\Tripcheckr\XML_test
>  \admin_geocode.php on line 69
>
>  Warning: simplexml_load_file() [function.simplexml-load-file]:
>  <address>Nisída Ro, &#x39C;&#x3B5;&#x3B3;&#x3AF;&#x3C3;&#x3C4;&#x3B7;
>  85111< in D:\development\Tripcheckr\XML_test\admin_geocode.php on line
>  69
>
>  What could be the problem?
>
>  Input city is: Agios Gordios
>  Input country is: Griekenland (Greece in Dutch)
>
>  Thanks in advance for any help!
>
>
>  Regards,
>
>
>  Marc
>
>  >
>


-- 
Barry

- www.nearby.org.uk - www.geograph.org.uk -

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