Some emojis (e.g. ☁) have two unicode, u'\u2601' and u'\u2601\ufe0f'. What does u'\ufe0f' mean? Is it the same if I delete it?

后端 未结 2 952
失恋的感觉
失恋的感觉 2021-01-07 18:48

I\'m writing a python program to judge emoji with a collected emoji unicode set. During the test, I found that one emoji,take as an example, has two unicode,

2条回答
  •  有刺的猬
    2021-01-07 19:10

    That's the Variant Form, which provides more information for those displays, that are capable of displaying with colour and other things.

    This chart gives you the difference between FE0F and FE0E:

    You could consider that the FE0E version is the unicode text version, and the FE0F version is with graphics (those which are capable will display graphically), which gracefully degrades to text version, when graphical display is not available.

提交回复
热议问题