note 41823 rejected from function.simplexml-load-file by betz
| From: | betz@php.net | Date: | Fri, 23 Apr 2004 08:28:13 +0000 |
| Subject: | note 41823 rejected from function.simplexml-load-file by betz | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-68576@lists.php.net to get a copy of this message | ||
Note Submitter: sitx@mlnk.net
----
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?