php - How to push emjio remotely on ios and how to cooperate
PHP中文网
PHP中文网 2017-06-24 09:41:28
0
3
681

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?

PHP中文网
PHP中文网

认证0级讲师

reply all(3)
给我你的怀抱

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

曾经蜡笔没有小新

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.

淡淡烟草味

Need storage?

  1. When storing, MySQL should pay attention to the encoding format of storing expression-related fields! Requires utf8mb4 mysql version 5.7

  2. 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

  3. The mobile terminal needs the corresponding dictionary of emjio emoticons

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!