Re: [PHP-XML-DEV] encoding not working

[email protected] ("Rob Richards")
Newsgroups php.xml.dev
Message-ID <[email protected]>
From: Kevin Waterson


> I just updated to a resent snap and now I get an error if I do
> $result->encoding = "HTML";
>
> Did something change?

Fixed in cvs. When dealing with html, you can also use some new functions
which dont require changing the encoding to html.

input:
$doc->loadHTML($html);
$doc->loadHTMLFile($filename);

output:
$html = $doc->saveHTML();
$doc->saveHTMLFile($filename);

Rob
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.