如何使用HTML在IE中显示Unicode字符 [英] How to show Unicode characters in IE using HTML
本文介绍了如何使用HTML在IE中显示Unicode字符的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用以下代码在页面底部显示版权和无穷大符号:
I'm trying to show the copyright and infinity signs at the bottom of my page using this code:
© Copyright Mikle 2009 - ∞
这在Firefox 2、3和Chrome浏览器中完美运行. IE7却向我显示了实际的代码(如您在上面看到的),而不是我所期望的,另一个浏览器显示了:
This works perfectly in Firefox 2, 3 and Chrome. IE7 though, is showing me the actual codes (like you see above) instead of what I expect and the other browser show:
© Copyright Mikle 2009 - ∞
这可能是一些愚蠢的事情,但这使我明白了IE为什么会变得如此令人讨厌.我该如何解决?
This is probably some stupid thing, but this is making me understand why IE is getting so much hate. How do I fix this?
推荐答案
实体需要使用分号:
©
在这种情况下,Firefox被错误地过度有用.
Firefox is being incorrectly over-helpful in this case.
这篇关于如何使用HTML在IE中显示Unicode字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文