It is to display the emjio expression when pushing the pop-up window remotely, which is similar to
![Picture uploading...]
How do mobile terminals and servers need to cooperate?
给我你的怀抱2017-06-24 09:43:28
The picture is not displayed
But the backend should only store the emoji encoding. After the ios terminal receives the message, it converts it into an emoji according to the encoding
曾经蜡笔没有小新2017-06-24 09:43:28
The mobile terminal supports the input and display of emoji expressions, but the PC terminal cannot input emoji expressions, and different browsers may not support the display of emoji expressions.
These are some of the current situations of emoji expressions;
The questioner said that if you want to push a pop-up window to display emoji expressions, you can input it into the database. When pushing, you can just take it out of the database and send it directly. It can be displayed directly on the mobile terminal. You don’t need to worry about anything. However, if MySQL wants to store emoji expressions, You need to modify the character set configuration. Simple utf8 will not work, you must use utf8mb4. There are many methods on the Internet, just search it.
Probably it can be handled this way, because the question does not provide much content, and I can’t tell what kind of scenario and logic you want to deal with it. If necessary, you can continue to ask.
淡淡烟草味2017-06-24 09:43:28
Need storage?
When storing, MySQL should pay attention to the encoding format of storing expression-related fields! Requires utf8mb4 mysql version 5.7
If it is not a database of this version, you can use base64 related functions to transcode into the database, and then use base64 related functions to decode and display out of the database
The mobile terminal needs the corresponding dictionary of emjio emoticons