Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
141 views
in Technique[技术] by (71.8m points)

python - What does u'ufe0f' in an emoji mean? Is it the same if I delete it?

I'm writing a python program to judge emojis 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'u2601ufe0f', what does ufe0f mean? Is it the same if I delete it?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

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:

enter image description here

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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...