What's the unicode glyph used to indicate combining characters?

前端 未结 2 961
[愿得一人]
[愿得一人] 2021-02-07 19:37

My application needs to display "orphaned" combining characters. I would like to use the same format as the "official" unicode charts, using the dotted circl

相关标签:
2条回答
  • 2021-02-07 19:47

    Just tried this: create a blank .html file, copy the text, and load in Firefox. Displays as expected (although I really didn't expect space+combining character to display correctly):

    <html>
    <body>
    <font size="24pt">
    &#x25CC;&#x0300;
    &#x25CC;&#x0301;
    &#x25CC;&#x0302;
    &#x25CC;&#x0303;
    <br/>
    &#x0041;&#x0300;
    &#x0041;&#x0301;
    &#x0041;&#x0302;
    &#x0041;&#x0303;
    <br/>
    &#x0020;&#x0300;
    &#x0020;&#x0301;
    &#x0020;&#x0302;
    &#x0020;&#x0303;
    </font>
    </body>
    </html>
    
    0 讨论(0)
  • 2021-02-07 20:03

    I don't think there is an official placeholder character. The way I read that note, they chose U+25CC arbitrarily, purely for display purposes. Then, in the chart where the "real" dotted circle is listed, they made it a little larger to emphasize that it's not being used as a placeholder there. (Or maybe they shrunk it in the other charts; as you said, the note's poorly worded.)

    Whatever the case, I don't see any reason not to use U+25CC as your placeholder.

    0 讨论(0)
提交回复
热议问题