Open joeboyscout04 opened 6 years ago
Looks like there are 48 emoji from the categories which don't match emojiList and then aren't recognized as emoji.
let allCategoryEmoji = emojiCategories.flatMap({ $0.value })
let nonEmojiCategoryEmoji = allCategoryEmoji.filter { return !isEmoji(character: $0)}
print(nonEmojiCategoryEmoji)
// result
["๐๏ธ", "๐คผโโ๏ธ", "๐คผโโ๏ธ", "๐คธโโ๏ธ", "๐คธโโ๏ธ", "โน๏ธ", "๐คพโโ๏ธ", "๐คพโโ๏ธ", "๐๏ธ", "๐โโ๏ธ", "๐โโ๏ธ", "๐คฝโโ๏ธ", "๐คฝโโ๏ธ", "๐ฃโโ๏ธ", "๐ดโโ๏ธ", "๐ตโโ๏ธ", "๐คนโโ๏ธ", "๐คนโโ๏ธ", "๐ฑโโ๏ธ", "๐ณโโ๏ธ", "๐ฎโโ๏ธ", "๐ทโโ๏ธ", "๐โโ๏ธ", "๐ต๏ธ", "๐ฉโโ๏ธ", "๐จโโ๏ธ", "๐ฉโโ๏ธ", "๐จโโ๏ธ", "๐ฉโโ๏ธ", "๐จโโ๏ธ", "๐โโ๏ธ", "๐โโ๏ธ", "๐
โโ๏ธ", "๐โโ๏ธ", "๐โโ๏ธ", "๐คฆโโ๏ธ", "๐คฆโโ๏ธ", "๐คทโโ๏ธ", "๐คทโโ๏ธ", "๐โโ๏ธ", "๐โโ๏ธ", "๐โโ๏ธ", "๐โโ๏ธ", "๐ฏโโ๏ธ", "๐ถโโ๏ธ", "๐โโ๏ธ", "โ๏ธ", "โ๏ธ"]
@joeboyscout04 Hi, that's because those data are from different sources. I will try to find time to fix, but in the meantime PRs are welcome
Sure. Which source is the canonical one, and how do you recommend to fix?
There is a strange behavior where the man_juggling from the
emojiCategories
isn't recognized as an emoji usingisEmoji
and doesn't any values in theemojiList
when I do a CTRL-F in Xcode, even though it's very clearly there in the emojiList if I look visually.I'm not sure exactly what's wrong or how far it extends to other emoji, but it definitely seems like something isn't right.