How does one go from a Unicode character to its description?

后端 未结 2 1263
盖世英雄少女心
盖世英雄少女心 2021-01-25 10:46

I came across this cute little symbol today:

2条回答
  •  花落未央
    2021-01-25 11:08

    This information comes from the Unicode Character Database.

    Specifically, the code points and their names (and other info like the category of a code point) are defined in UnicodeData.txt.

    A lot of programming languages have this information in the standard library, eg. the unicodedata module of Python.

提交回复
热议问题