无法在IE 9上显示字符 [英] Can't display character on IE 9
问题描述
尽管设置了UTF-8字符集,该字符❯仍未在IE 9上正确显示。我该怎么办?
This character ❯ doesn't appear correctly on IE 9, despite setting UTF-8 charset. What do I do?
推荐答案
IE在为某个字符指定的字体中不存在该字符时,在呈现该字符时通常会遇到严重的困难。
IE often has serious difficulties in rendering a character when it does not exist in the fonts specified for an element or, in the absence of such specifications, in the browser’s default font.
解决方法是指定一系列已知包含该字符的字体。对于❯ U + 276F重型右角引号标记小装饰品(一个相当特殊的字符),字体覆盖范围非常有限。大多数计算机没有包含它的字体。您可以指定如下字体列表:
The cure is to specify a list of fonts know to contain the character. For "❯" U+276F HEAVY RIGHT-POINTING ANGLE QUOTATION MARK ORNAMENT (a rather special character), font coverage is very limited. Most computers have no font containing it. You can specify a font list like the following:
font-family: DejaVu Sans, Symbola, Everson Mono, Dingbats, Segoe UI Symbol,
Quivira, unifont;
但是大多数用户都缺少所有这些字体。您可能考虑使用带有 @ font-face
的可下载字体(网络字体)。 DejaVu字体, Symbola 和 Quivira 是免费字体,尽管它们文件大小相当大。
But most users lack all of these fonts. You might consider using a downloadable font (web font) with @font-face
. DejaVu fonts, Symbola, and Quivira are free fonts, though they are rather large in file size.
更多信息:在HTM中使用特殊字符的指南。
这篇关于无法在IE 9上显示字符的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!