Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
尽管我包含了 ISO-8859-1 内容类型 META,但我的网站没有显示特殊字符,例如 ã 和 ê。如果我从 MYSQL 查询中“回显”一个字符串,则特殊字符会正确显示。如果我用纯 HTML 编写相同的字符,它将不会显示在同一个网站上。提前致谢。
http://popguest.com.br/event/index3.php?c=48&p=3
也许您可以使用一个简单的例程将所有特殊字符编码为实体(&#x----; 在 x 之后使用正确的十六进制 unicode 数字)
(切换到 UTF-8 也不错)