Guys i am trying to consume the Google maps API and when i pass it an
address in Montreal QC i get the follwoing error

*Warning*: SimpleXMLElement::__construct() [
function.SimpleXMLElement---construct<http://codebowl.homeip.net/eremaps/function.SimpleXMLElement---construct>]:
Entity: line 1: parser error : Input is not proper UTF-8, indicate encoding
! Bytes: 0xE9 0x61 0x6C 0x2C in *
/Applications/MAMP/htdocs/eremaps/import.php* on line *41

*the issue is that Google is returning this in the XML response

<LocalityName>Montréal</LocalityName>

I am guessing it is throwing something off with the SimpleXML object?  How
can i make it handle this?

Thanks,
--
Joseph Crawford Jr.
Zend Certified Engineer
Codebowl Solutions, Inc.
http://www.codebowl.com/
Blog: http://www.josephcrawford.com/
1-802-671-2021
[EMAIL PROTECTED]
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to