Tip & How-To about Computers & Internet
Where there are funky characters in the XML file,DOMDocument->load complained about them, saying that they weren’t UTF-8, and to specify the encoding.
For example,Warning: DOMDocument::loadXML(): Input is not proper UTF-8, indicate encoding !
Bytes: 0xE4 0x3C 0x2F 0x66 in Entity, line: 1 in test.php on line 6
with doc->recover=false(default) : failed
PHP DOMDocument->load() encoding error
Posted by Anonymous on
Dec 17, 2010 | Cell Phones
Sep 24, 2009 | Facebook Social Network
Sep 20, 2009 | Facebook Computers & Internet
Jun 16, 2009 | Microsoft Office Professional 2007 Full...
Oct 25, 2007 | Samsung HT-Q100 System
1,096 people viewed this tip
Usually answered in minutes!