Tijnema ! wrote:
Did you set the UTF8 format in the html_entity_decode function?
so your code would become:
loadXML("שלום");
$output = $dom->saveHTML();
header("Content-Type: text/html; charset=UTF-8");
echo html_entity_decode($output,ENT_QUOTES,"UTF-8");
?>
Yes. This works... thanks! :-)
But
On 3/21/07, Eli <[EMAIL PROTECTED]> wrote:
> What about html_entity_decode?
> http://www.php.net/html_entity_decode
No. It doesn't help in this case.
DOMDocument->saveHTML() method converts any non-ascii characters into
entities.
For example, if the dom document has the text node value of:
2 matches
Mail list logo