在基于 WordPress 的页面上看到奇怪的撇号字符,但仅在 Internet Explorer 中
我在由 Wordpress 提供支持的页面上使用这个奇怪的字符而不是撇号,但仅限于 Internet Explorer。其他浏览器(chrome、firefox)显示为实际的撇号。
-
有人能告诉我问题是什么吗?
这是有问题的实例:http://cure.org/about/management-team/
您会在 Dale Brantner(从上往下数第 4 名员工)下方看到,在他的个人简介的第一段中,有“组织的”一词,这就是在 IE 中我得到上述符号的实例撇号的。
我已经尝试过使用撇号字符和 HTML 字符实体 '
但两者似乎都会产生这个奇怪的字符串。有趣的是,我不时在其他 WordPress 支持的博客上注意到它。
另外值得注意的是,该页面是通过自定义使用 WordPress 中的链接功能生成的。
I'm gettign this strange character instead of an apostrophe on a page that's powered by Wordpress, but only in Internet Explorer. Other browsers (chrome, firefox) display as the actual apostrophe.
’
Can somebody tell me what the problem is?
Here's the instance in question: http://cure.org/about/management-team/
You'll see under Dale Brantner, 4th staff member from the top, there in the first paragraph of his bio the word organization's and that is the instance which in IE I'm getting the above symbol instead of an apostrophe.
I have tried both with the apostrophy character, and with the HTML character entity '
but both seem to yield this strange character string. Interestingly, I have noticed it on other wordpress powered blogs from time to time.
Also of note, this page is generated by a custom use of the links function in wordpress.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(5)
有一个已知问题,您应该使用
'
而不是'
http://www.digimantra.com/tips/how-to-display-apos-in-internet-explorer-即/
There's a known issue, you should use
'
instead of'
http://www.digimantra.com/tips/how-to-display-apos-in-internet-explorer-ie/
您引用的内容 (
’
) 几乎总是由于编码问题造成的,但我在 IE 7 和 8 中都得到'
。What you are quoting (
’
) almost always is due to an encoding problem, but I get'
in both IE 7 and 8.这看起来像是一个编码错误。检查两个浏览器中的字符编码设置是否相同。
This looks like an encoding error. Check that the character encoding settings are the same in both browsers.
最好使用
'
作为撇号。这很奇怪,但当您输入撇号时,YouTube 上也会发生同样的情况……有时。我之前发表评论时就发生过这种情况。当我在 Google 上搜索'
时,结果发现它只是翻译为撇号。所以,总而言之,使用'
。It's best to use
'
for apostrophes. It's weird, but the same will happen on YouTube when you input an apostrophe...sometimes. Just happened to me earlier when I posted a comment. When I searched'
on Google, it turns out it just translates to an apostrophe. So, in summary, use'
.尝试用
'
替换撇号,如果它仍然显示很奇怪,则可能是损坏的字体。Try replacing the apostrophe with
'
if it's still shows up weird it probably a corrupt font.