Quantcast
Channel: Coding Archives - BinaryTides
Viewing all articles
Browse latest Browse all 21

Php – Fix “Input is not proper UTF-8, indicate encoding” error when loading xml

$
0
0

When loading xml files in php through simplexml_load_string or domDocument class, sometimes an error like this might popup Warning: DOMDocument::loadXML(): Input is not proper UTF-8, indicate encoding ! OR Warning: simplexml_load_string(): Entity: line 93: parser error : Input is not proper UTF-8, indicate encoding ! The error occurs when the xml has some invalid characters... Read More »

The post Php – Fix “Input is not proper UTF-8, indicate encoding” error when loading xml appeared first on BinaryTides.


Viewing all articles
Browse latest Browse all 21

Trending Articles