Just to let others know:

Adding &oe=utf8 to the search url worked perfectly. Thanks for your
answer Barry.

"oe (optional but strongly encouraged) — The output encoding format of
the response. It is recommended that you set this output encoding
explicitly to utf8 unless you have specific requirements to handle
other encoding types."


Regards,


Marc

On Jul 2, 2:29 pm, Marc <[email protected]> wrote:
> Thanks! I'll give it a try.
>
> Best Regards,
>
> Marc
>
> On Jul 1, 9:32 pm, Barry Hunter <[email protected]> wrote:
>
>
>
> > Seehttp://code.google.com/apis/maps/documentation/geocoding/index.html#G...
>
> > 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-eH...
> > >  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--Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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