Stackoverflow!
I'm attempting to parse a huge UTF-8 encoded XML file, through simplexml_load_file, full of html-encoding - Much like æ
Pretty simple.
<?php
$feed = "test.xml";
if (file_exists($feed)) {
$xml = simplexml_load_file($feed);
}
It returns a bunch of errors.
Warning: simplexml_load_file() [function.simplexml-load-file]: test.xml:11: parser error : Entity 'aelig' not defined in ... on line 7
What's a possible fix to this? I am not able to change or modify anything related to the XML-file.