【发布时间】:2015-10-16 16:43:41
【问题描述】:
标签: javascript jquery html iframe iso-8859-1
标签: javascript jquery html iframe iso-8859-1
您可能希望将 UTF-8 特殊字符转换为 HTML 实体,因为 ISO-8859-1 根本没有 do 字符。我注意到您使用的是 PHP,因此此链接可能会有所帮助:
http://php.net/manual/en/function.htmlentities.php
如果还是不行,可以尝试在php.ini中禁用HTTP输入字符转换:
;; Disable HTTP Input conversion
mbstring.http_input = pass
;; Disable HTTP Input conversion (PHP 4.3.0 or higher)
mbstring.encoding_translation = Off
【讨论】: