知识库

查找有关信息功能,故障排除指南,
以及与虚拟主机相关的其他技术信息的文章。

I see question marks and weird symbols on my site

引用:
uft8 question mark ? symbol

If strange symbols are displayed on your website, it's related to incorrect database and/or page encoding. In order to fix this issue, page encoding needs to be changed. Your website should also have UTF-8 meta tag:

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

 

You may also try to add this line at the top of your index.php page:

 header('Content-Type: text/html; charset=utf-8');

 

Also, there could be a problem if your files are encoded in "UFT8 with BOM" support. You should open these files on your computer and encode them in "UFT8 without BOM" support. And then upload files again. You can change file encoding with software such as Notepad++.

  • 简单易用的建站助手
  • 99.9%在线时间保证
  • 24/7 在线支持
  • 强大的控制面板
  • 30天退款保证
限时优惠促销!
低至
4
75
CNH
/月
节省 91%
立即开始