为什么HTML实体在Windows Chrome浏览器上不起作用? [英] Why the HTML entity doesn't work on the Windows Chrome?
问题描述
HTML实体不适用于chrome和IE(在Windows上).
HTML entities are not working on chrome and IE (on windows).
我在页面中输入了以下代码,它在mac chrome或Firefox或safari上正常运行,但在Windows上却无法运行.
I have entered the following code in my page and it works fine on mac chrome or firefox or safari, but not on windows.
<span class="font-family:Arial;">⟨ ⟩ 〉 〈 </span>
推荐答案
该特定字符只是一个unicode代码点,它是一个任意数字.许多Unicode代码点没有正式"符号.即使它们确实具有符号,也不一定是您的字体具有该代码点的符号.如果选择其他字体,则最终可能会得到不同的符号.
That particular character is simply a unicode codepoint which is an arbitrary number. There are a lot of unicode codepoints that do not have an 'official' symbol. Even if they do have a symbol, it is not necessarily the case that your font has a symbol for that codepoint. If you choose a different font, you may end up with a different symbol.
我查看了页面的CSS,它显示了用Arial显示的此字符(以及其他无关紧要的其他字体).Windows随附Arial,因此应始终先选择该字体.看起来Arial没有该Unicode代码点的符号.每当您没有代码点的字形时,它就会以某种形式的框形式出现,表示没有字形
I looked at the CSS for the page and it shows this character displaying in Arial (plus a bunch of other fonts that do not matter). Windows comes with Arial so it should always pick up that font first. It looks like Arial does not have a symbol for that unicode codepoint. Anytime you do not have a glyph for a codepoint, it puts in some form of a box indicating there is no glyph
这篇关于为什么HTML实体在Windows Chrome浏览器上不起作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!