Is there a “glyph not found” character?

前端 未结 8 1557
清歌不尽
清歌不尽 2020-12-09 08:48

Let\'s assume we have a text that contains a Unicode character that cannot be displayed because our font has no corresponding glyph. Usually, a placeholder is displayed inst

8条回答
  •  無奈伤痛
    2020-12-09 09:14

    Unicode uses these terms:

    • replacement glyph
    • missing glyph
    • interpretable but unrenderable character

    The Unicode Standard (10.0) does not define how they have to look, but it suggests in chapter 5.3 [PDF] that implementations display

    […] distinctive glyphs that give some general indication of their type […]

    to distinguish them from "unassigned code points". They give some examples:

    The Unicode glossary entry says:

    It often is shown as an open or black rectangle.


    tl;dr: There is no standardized look/glyph, it’s up to the implementation. To help users, implementations could display glyphs that indicate what type of character it is that can’t be displayed.

提交回复
热议问题