“"显示在页面上而不是 "' " [英] "’" showing on page instead of " ' "

查看:24
本文介绍了“"显示在页面上而不是 "' "的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

' 显示在我的页面上,而不是 '.

’ is showing on my page instead of '.

我的 <head> 标记和 HTTP 标头中的 Content-Type 都设置为 UTF-8:

I have the Content-Type set to UTF-8 in both my <head> tag and my HTTP headers:

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

另外,我的浏览器设置为Unicode (UTF-8):

In addition, my browser is set to Unicode (UTF-8):

问题是什么,我该如何解决?

So what's the problem, and how can I fix it?

推荐答案

确保浏览器和编辑器使用的是 UTF-8 编码,而不是 ISO-8859-1/Windows-1252.

Ensure the browser and editor are using UTF-8 encoding instead of ISO-8859-1/Windows-1252.

或者使用&rsquo;.

这篇关于“"显示在页面上而不是 &quot;' &quot;的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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