So I'm trying to load the channel XML file with php using
Code:
<?php
$doc = new DOMDocument();
$xml = "http://channel.api.livestream.com/1.0/info?channel=oystein123"
$doc->load($xml);
?>
And I get the error:
Code:
Warning: DOMDocument::load() [domdocument.load]: Input is not proper UTF-8, indicate encoding ! Bytes: 0xD8 0x79 0x73 0x74 in http://channel.api.livestream.com/1.0/info?channel=oystein123
i noticed this happens to any channel whose title has some special character in it.
is there a fix to this?