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