note 57326 added to function.simplexml-load-file

From: Date: Fri, 30 Sep 2005 15:52:14 +0000
Subject: note 57326 added to function.simplexml-load-file
Groups: php.notes 
Request: Send a blank email to php-notes+get-96055@lists.php.net to get a copy of this message
Micro$oft Word uses non-standard characters and they create problems in using simplexml_load_file. Many systems include non-standard Word character in their implementation of ISO-8859-1. So an XML document containing that characters can appear well-formed (i.e.) to many browsers. But if you try to load this kind of documents with simplexml_load_file you'll have a little bunch of troubles.. I believe that this is exactly the same question discussed in htmlentites. Following notes to htmlentitles are interesting here too (given in the reverse order, to grant the history): http://it.php.net/manual/en/function.htmlentities.php#26379 http://it.php.net/manual/en/function.htmlentities.php#41152 http://it.php.net/manual/en/function.htmlentities.php#42126 http://it.php.net/manual/en/function.htmlentities.php#42511 ---- Manual Page -- http://www.php.net/manual/en/function.simplexml-load-file.php Edit -- http://master.php.net/manage/user-notes.php?action=edit+57326 Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+57326&report=yes&reason=added+to+the+manual Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+57326&report=yes&reason=bad+code Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+57326&report=yes&reason=spam Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+57326&report=yes&reason=useless Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+57326&report=yes&reason=non-english Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+57326&report=yes&reason=already+in+docs Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+57326&report=yes Reject -- http://master.php.net/manage/user-notes.php?action=reject+57326&report=yes Search -- http://master.php.net/manage/user-notes.php

« previous php.notes (#96055) next »