Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can you help me in the following? #19

Closed
YasirAmeen opened this issue Feb 16, 2017 · 3 comments
Closed

Can you help me in the following? #19

YasirAmeen opened this issue Feb 16, 2017 · 3 comments

Comments

@YasirAmeen
Copy link

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

@hani-momanii
Copy link
Owner

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 ?

@YasirAmeen
Copy link
Author

YasirAmeen commented Feb 21, 2017

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

@hani-momanii
Copy link
Owner

hani-momanii commented Feb 22, 2017

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants