且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

为什么HTML实体在Windows Chrome浏览器上不起作用?

更新时间:2023-01-24 11:48:37

该特定字符只是一个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