PHP DOM saveHTML outputs entities
| From: | Eli | Date: | Wed, 21 Mar 2007 07:09:15 +0000 |
| Subject: | PHP DOM saveHTML outputs entities | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-250982@lists.php.net to get a copy of this message | ||
Hi,
I'm loading a utf-8 xml file into PHP5 DOM, and then use saveHTML() method. The result output always convert characters to html entities in any case.
How can I avoid this? I want to output utf-8 html string with no html entities.
-thanks!