note 64055 rejected from function.domxml-open-file by bjori

From: Date: Thu, 06 Apr 2006 16:41:35 +0000
Subject: note 64055 rejected from function.domxml-open-file by bjori
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-107459@lists.php.net to get a copy of this message
Note Submitter: ahellin at knowsystems dot net ---- I have tried to read an xml file with $xml = domxml_open_file('public_xml.php') but I receive the warnning: Warning: domxml_open_file(): Input is not proper UTF-8, indicate encoding ! Bytes: 0xED 0x61 0x73 0x20 My public_xml.php source code is: <?php header('Content-Type: text/xml; charset="ISO-8859-1"'); echo <<<XML <?xml version="1.0" encoding="iso-8859-1" standalone="no" ?> <rss version="2.0"> <channel> ... </channel> </rss> XML; ?> Any suggestion?

« previous php.notes (#107459) next »