-
Notifications
You must be signed in to change notification settings - Fork 817
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
Send text with emoji to server. #1
Comments
What's the encoding you're using when sending text with emoji to server from Android? Can you try with sending other unicode text e.g: |
Ok, let's close this issue. This should be an issue outside of the library. |
Hi there, I would like to know what is the encoding I should use at the SQL row of the text in order to pass the icons right and not getting a gibberish result :) Thanks for any kind of help |
Hi, I'm using utf8mb4_unicode_ci for table and utf8mb4_general_ci for column. rockerhieu: I still have the same issue. I'm using UTF8 and yes other unicode characters working well. |
Well thank you for the reply, I've tried the next code for the table -
And i've also added to the index.php - the next line - header('Content-type: text/html; charset=utf-8'); But with it or without it - i still don't get to pass the icons right. CAn you tell what I'm doing wrong here? |
Check this http://mathiasbynens.be/notes/mysql-utf8mb4
|
After run that code did you checked is table has utf8mb4 character set? |
It says the table got - utf8mb4_unicode_ci and also messagetext and messagetext1 got - messagetext. The thing is, When I'm looking at the Collation options at the myPhpAdmin - i don't have utf8mb4 option at all |
hi there, i have the same problem. the symbols saving as "??????????" when i using utf8mb4 |
Any solution? |
We are using blob field |
@farruxx thanks for reply. |
The problem is at saving data without changing. Blob will save data as is |
I have solved the issue. Here is the code Which I have used to send the text+emojis to server String enCodedStatusCode = "";
and to display this text to textview from server I have used this code String myString= null;
simply used the URLEncoder.encode to UTF-8 (Sending to server) and then URLDecoder.decode from UTF-8 (Received text from server) |
Added EmojiconMultiAutoCompleteTextView
I got the solution for saving Emoji in Database
|
Hello,
I have problem with send the text with emoji to server.
When I send they are becoming to ???.
Server side work perfectly, because I have tested it with the iOS version.
Any suggestion?
Thanks,
Vardan
The text was updated successfully, but these errors were encountered: