当有UTF-8字符编码时,显示为引号的问号图标 [英] Question mark icons showing up for quotation marks when there's a UTF-8 character encoding

查看:163
本文介绍了当有UTF-8字符编码时,显示为引号的问号图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

由于某种原因,在添加后:

For some reason, after I add:

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

,某些符号(即引号)显示为带有问题的菱形图标标记在中间,好像没有找到符号。任何人都知道发生了什么?

between my head tags, certain symbols (namely quotation marks) show up as diamond-shape icons with question marks in the middle, as if that symbol is not found. Anyone know what's up?

推荐答案

您的文本编辑器将保存文件,包括引号, UTF-8(很可能是CP1252)。将文件转换为实际为UTF-8,然后重试。

Your text editor is saving your file, including the quotation marks, in some encoding that isn't UTF-8 (most likely CP1252). Convert the file to actually be UTF-8 and try again.

这篇关于当有UTF-8字符编码时,显示为引号的问号图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆