某些表情符号(例如☁)具有两个unicode,即u'\u2601'和u'\u2601\ufe0f'。 u'\ufe0f'是什么意思?如果删除它也一样吗? [英] 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?
问题描述
我正在编写一个Python程序,以使用收集的表情符号unicode集来判断表情符号。在测试过程中,我发现一个表情符号,以☁
为例,有两个unicode, u'\u2601'
和 u'\u2601\ufe0f'
, \ufe0f
是什么意思?如果删除它也一样吗?
这是为您提供了 FE0F
和<$ c $之间的区别c> FE0E :
您可以认为 FE0E
版本是unicode文本版本,而 FE0F
版本是带有图形的(那些当图形显示不可用时,有能力的图形化显示)。
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, u'\u2601'
and u'\u2601\ufe0f'
, what does \ufe0f
mean? Is it the same if I delete it?
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.
这篇关于某些表情符号(例如☁)具有两个unicode,即u'\u2601'和u'\u2601\ufe0f'。 u'\ufe0f'是什么意思?如果删除它也一样吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!