【发布时间】:2017-06-15 15:12:17
【问题描述】:
我的 php.log(PHP 错误日志)每天都被以下行填满:
PHP 警告:html_entity_decode():不支持字符集 ASCII,假设第 149 行 /....php 中的 iso-8859-1
第 149 行如下所示:
$html = html_entity_decode($html, ENT_QUOTES, mb_detect_encoding($html));
html_entity_decode() 的用法是根据 php.net 的,所以我缺少什么?
【问题讨论】: