Can't remove emojis: 0️⃣1️⃣2️⃣3️⃣4️⃣5️⃣6️⃣7️⃣8️⃣9️⃣
Can't remove emojis: 0️⃣1️⃣2️⃣3️⃣4️⃣5️⃣6️⃣7️⃣8️⃣9️⃣
I tried using the function EmojiParser.removeAllEmojis() but it failed to remove some emoji. Ex: 0️⃣1️⃣2️⃣3️⃣4️⃣5️⃣6️⃣7️⃣8️⃣9️⃣
I handled this case with function:
9️⃣ toCharArray = 9 ()+ '️'(0xFE0F) + '⃣'(0x20E3)
private fun isSpecialEmoji(source: String, index: Int): Boolean {
return index + 2 <= source.length && source[index + 1] == '️' && source[index + 2] == '⃣'
}
This library detects digit + u20E3 but it doesn't detect digit + uFE0F + u20E3.
I can also confirm that even the latest version 5.1.1. does NOT remove the emojis 0️⃣1️⃣2️⃣3️⃣4️⃣5️⃣6️⃣7️⃣8️⃣9️⃣ , when is bugfix coming?
Actually, I just found out that these characters are not real Emojis, so it's ok that they don't get removed.