note 14508 deleted from function.domxml-new-child by nlopess

From: Date: Sun, 27 Jun 2004 14:16:45 +0000
Subject: note 14508 deleted from function.domxml-new-child by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-71920@lists.php.net to get a copy of this message
Note Submitter: herman@frontier.nl ---- A mistake I made when first trying to manipulate the DOM tree: the text content for a node should be in UTF-8 encoding, even if the imported tree uses another encoding. So, when using non-ASCII characters, first utf8_encode() the content, or libxml will die rather ungracefully.

« previous php.notes (#71920) next »