note 41823 added to function.simplexml-load-file
| From: | sitx at mlnk dot net | Date: | Fri, 23 Apr 2004 06:52:13 +0000 |
| Subject: | note 41823 added to function.simplexml-load-file | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68567@lists.php.net to get a copy of this message | ||
I'm having trouble loading a XML file with simplexml_load_file. I need to parse a XML with the
windows-1251 encoding, but whenever I set it the function returns false. The same happens if I just
include the text I need in cyrillic (even though the file parses as valid XML). I read some tips on
W3Schools regarding XML Encoding (i.e. saving the XML as unicode) but they don't work for me
(the text becomes unreadable).
Any ideas?
----
Manual Page -- http://www.php.net/manual/en/function.simplexml-load-file.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41823
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41823&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41823&report=yes
Search -- http://master.php.net/manage/user-notes.php