hani-momanii/SuperNova-Emoji

Can you help me in the following?

YasirAmeen opened this issue · 3 comments

First of all thanks for your library its great, but i am facing very strange problem.

On server side, i have datatype for image is utf8mb4
i am sending emoji to user using chat application.

he and me can say emojis first time, but whenever we close app and open chat screen again. all the emojis i send converted to ud3ud8udccud etc without / (slash)

i also tried EmojitTextView for chat bubbles.

Thanks
Regards
Yasir Ameen

Do you store the messages locally ?
if you send him emoji it shown on your device correct, nut when he receive it dose he see it right ?

no i am not storing messages locally, and yes first time when i sent emoji it shows correct but when we close the app and come again to the chat screen (android app fetch all the messages into ArrayList) and shows emojis converted to ud343 etc etc without / slash

You should use utf8mb4 charset instead of utf8, check your DB.
Read This: https://mathiasbynens.be/notes/mysql-utf8mb4