新鲜LAMP服务器上带有问号的黑色钻石

时间:2017-06-16 19:15:42

标签: php encoding phpmyadmin lamp

黑色方块甚至发生在phpMyAdmin中 - 不是在查看表格中的文本时,而是在“加载...”等phpMyAdmin字符串中,这表明这是一个低级别的配置问题。

我在这里和其他地方已经读过这个并试过几种补救措施,一切都没有效果。

正在新的VPS上发生:Debian / Apache 2.4.10 / MySQL 5.6 / php 7。

Server connection collation: utf_general_ci
php_info() shows default_charset: UTF-8
php version is 7.0.20-1~dotdeb+8.1
page headers show Content-Type text/html; charset=iso-utf-8
there is no meta charset in the HTML
Apache mime module is active

正方形出现在像省略号,emdash等字符

有什么想法吗?

1 个答案:

答案 0 :(得分:0)

您不支持utf8字符,请按照此处所述查看您的Apache设置:

How to best configure PHP to handle a UTF-8 website

相关问题