note 79306 deleted from function.simplexml-element-asXML by danbrown

From: Date: Wed, 16 Sep 2009 15:42:49 +0000
Subject: note 79306 deleted from function.simplexml-element-asXML by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-160653@lists.php.net to get a copy of this message
Note Submitter: tim ---- I think there is a bug while creating files. When I use the UTF-8 charset and use chars like ä,ö,ü the written file is not valid. So $xml->asXML("datei.xml"); and file_put_contents("datei.xml",$xml->asXML()); deliver different results. The second is valid and correct. Sorry for my english.

« previous php.notes (#160653) next »