I have an Arabic string which has emoji and I want to convert them to text, I've found a function converts them to text but in English. How can I convert emoji to Arabic text? here is my string and code:
my string: ????? ????? ?????? ??? ????????
after converting emoji: ????? ????? ?????? ??? two_hearts two_hearts two_hearts two_hearts
import emoji
st="????? ????? ?????? ??? ????????"
st=emoji.demojize(st, delimiters=(" ", " "))
print(st)
thank you for your help.
question from:https://stackoverflow.com/questions/65644494/converting-emoji-to-arabic-text-in-python