note 64055 added to function.domxml-open-file
| From: | ahellin at knowsystems dot net | Date: | Thu, 06 Apr 2006 15:21:44 +0000 |
| Subject: | note 64055 added to function.domxml-open-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-107442@lists.php.net to get a copy of this message | ||
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?
----
Server IP: 66.163.161.117
Probable Submitter: 80.33.74.153
----
X-Spam-Status: No, hits=3.1 required=5.0 tests=DATE_MISSING,FROM_NO_LOWER
autolearn=no version=2.64
----
Manual Page -- http://www.php.net/manual/en/function.domxml-open-file.php
Edit -- http://master.php.net/note/edit/64055
Del: integrated -- http://master.php.net/note/delete/64055/integrated
Del: useless -- http://master.php.net/note/delete/64055/useless
Del: bad code -- http://master.php.net/note/delete/64055/bad+code
Del: spam -- http://master.php.net/note/delete/64055/spam
Del: non-english -- http://master.php.net/note/delete/64055/non-english
Del: in docs -- http://master.php.net/note/delete/64055/in+docs
Del: other reasons-- http://master.php.net/note/delete/64055
Reject -- http://master.php.net/note/reject/64055
Search -- http://master.php.net/manage/user-notes.php