【问题标题】:Accented characters not displayed in textarea embedded in iframe重音字符未显示在嵌入 iframe 的 textarea 中
【发布时间】:2015-10-16 16:43:41
【问题描述】:

标签: javascript jquery html iframe iso-8859-1


【解决方案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 

http://php.net/manual/en/mbstring.http.php

【讨论】:

猜你喜欢
  • 2014-03-20
  • 2015-07-16
  • 2012-02-28
  • 1970-01-01
  • 2012-10-28
  • 2015-06-27
  • 1970-01-01
  • 2015-01-09
  • 1970-01-01
相关资源
最近更新 更多