【问题标题】:Character encoding problem?字符编码问题?
【发布时间】:2011-03-24 07:42:16
【问题描述】:

我正在测试我在我的 Android 2.1 浏览器上设计的网页,但它抱怨以下内容:

第 1 行第 39 列的错误:不支持的编码 ISO8859-1

有没有办法解决这个问题?

【问题讨论】:

  • ISO8859-1 => ISO-8859-1 ?
  • 我的错...!非常感谢!

标签: php android character-encoding


【解决方案1】:
header('Content-Type: text/html; charset=iso-8859-1');

和/或

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2012-02-27
    • 2013-04-21
    • 2011-01-30
    • 2010-10-23
    • 2011-12-03
    • 1970-01-01
    相关资源
    最近更新 更多