ID: 46159 Comment by: alexander dot v at zend dot com Reported By: alexander dot v at zend dot com Status: Open Bug Type: DOM XML related Operating System: Linux PHP Version: 5.2.6 New Comment:
HTML example can be taken here: documentation/manual/core/ru/zend.db.select.html file of ZF 1.6.1 package (http://framework.zend.com/releases/ZendFramework-1.6.1/ZendFramework-1.6.1.tar.gz) Previous Comments: ------------------------------------------------------------------------ [2008-09-23 11:33:26] alexander dot v at zend dot com Description: ------------ DOMDocument::loadHTMLFile() generates warnings with some input files. E.g. ---------------------------------- Warning: DOMDocument::loadHTMLFile(): Input is not proper UTF-8, indicate encoding ! in /home/cawa/...../zend.db.select.html, line: 232 in /home/cawa/..../test.php on line 4 ---------- File is actualy correct and is loaded correctly by the following code: ------------------ $htmlData = file_get_contents($fname); DOMDocument::loadHTML($htmlData); ---------- Reproduce code: --------------- DOMDocument::loadHTMLFile($fname); Expected result: ---------------- File is loaded without warning message. Actual result: -------------- File is loaded with warning message. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46159&edit=1