IrrifyArorync
New Member
I have a XML file that I parse .. I didn't generate the XML .. I faced a problem while parsing the file ... There is a node that has \[code\]'\[/code\] single quotes .. This generates errors ..I tried using \[code\]addslashes()\[/code\] and \[code\]htmlentities()\[/code\] when using \[code\]simplexml_load_file()\[/code\] but nothing happened!! .. Is there a way to resolve this and parse the file with the quotes??\[code\]Warning: simplexml_load_file() [function.simplexml-load-file]: THE URL:853: parser error : Input is not proper UTF-8, indicate encoding ! Bytes: 0xE2 0x20 0x20 0x6C in /****/parseXML.php on line 7\[/code\]