iamcal / emoji-data

Easy to parse data and spritesheets for emoji
MIT License
2.56k stars 301 forks source link

Add <emoji>-FE0F-<emoji modifier> #106

Closed yantene closed 3 years ago

yantene commented 6 years ago

Some environments (probably iPhone?) enter this emoji pattern as same as \<emoji>-\<emoji modifier>. e.g. https://twitter.com/405yuna/status/799270360587739137

iamcal commented 6 years ago

this should be present for all emoji sequences that require it. is there a particular emoji/modifier combo you think is incorrect?

seiya-git commented 6 years ago

https://www.unicode.org/L2/L2016/16181-gender-zwj-sequences.pdf Some app have incorrect emoji keyboard output for "Gender Emoji ZWJ Sequences", like telegram. For example 26f9-1f3ff-fe0f-200d-2640-fe0f is Woman Bouncing Ball: Dark Skin Tone

iamcal commented 3 years ago

The qualified/non-qualified versions are generated from the Unicode source material, so contain only the official sequences.

To allow matching against badly implemented apps, you can explicitly filter out U+FE0F sequences and match against the non_qualified keys.

andersk commented 1 year ago

There is a bug here though: