XHTML5 and HTML4 character entities

前端 未结 5 2092
我寻月下人不归
我寻月下人不归 2020-12-09 11:57

Does XHTML5 support character entities such as   and . At work we can require specific software to access the admin side of the

5条回答
  •  难免孤独
    2020-12-09 12:25

    The right answer (the modern way)

    I asked this question five years ago. Now every browser supports UTF-8. And, every inception of UTF-8 includes glyph support for all named character entities. The rightmost current solution to this problem is not to use named entities at all but to serve only UTF-8 (strict) and to use actually characters in that.

    This is a list of all XML entities. All of these have UTF-8 character alternatives -- and that's how they'd normally be rendered anyway.

    For instance, take

    U+1D6D8, MATHEMATICAL BOLD SMALL CHI            , b.chi
    

    I suppose in some variant of xml you could have &b.chi or something, searching for MATHEMATICAL BOLD SMALL CHI you'll find some page on fileformat.info, which has the

提交回复
热议问题