Input is not proper UTF-8, indicate encoding (DOMDocument::loadXML)

Probably your XML string isn’t in UTF-8. Try this:

utf8_encode($xml);

Leave a Comment

NOTE - You can use these HTML tags and attributes:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>