标签: php
我收到了该页面的所有内容,但是在$dom->loadHTML($data)之后:
$dom->loadHTML($data)
Warning: DOMDocument::loadHTML() [domdocument.loadhtml]: input conversion failed due to input error, bytes 0x98 0xD0 0xBD 0xD0 in test.php on line 10
如何忽略格式错误的HTML不删除它?因为我错过了一些必要的标签