Re: PHP DOM saveHTML outputs entities

From: Date: Wed, 21 Mar 2007 07:56:27 +0000
Subject: Re: PHP DOM saveHTML outputs entities
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-250984@lists.php.net to get a copy of this message
On 3/21/07, Eli <eli.hen@gmail.com> wrote:
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!
What about html_entity_decode? http://www.php.net/html_entity_decode Tijnema
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#250984) next »