logo

Black Friday
Sale

  •  99.9% 在线时间
  •  免费 SSL 证书
  •  24/7 在线支持
  •  30天退款保证
立即开始

高达

91

%

OFF

03
20
03
17
黑色星期五促销!: 虚拟主机
低至 4.75CNH /月!
查看所有优惠
×

知识库

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

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++.