The so-called Emoji expressions are UTF-8 encoded strings. Just transfer them as usual. Just choose UTF-8 encoding when storing in the database. Let’s see how Baidu transfers the URL: http://www.baidu. com/s?wd=%F0%9F%98%8A&tn=84053098_dg&ie=utf-8
The client can directly transmit it to the server without processing. The storage method of the server must correspond. It can also be converted into your own corresponding characters like the one above and passed to the server, and then parsed locally
The so-called Emoji expressions are UTF-8 encoded strings. Just transfer them as usual. Just choose UTF-8 encoding when storing in the database. Let’s see how Baidu transfers the URL:
http://www.baidu. com/s?wd=%F0%9F%98%8A&tn=84053098_dg&ie=utf-8
Look at this
https://github.com/diy/NSStringEmojize
The client can directly transmit it to the server without processing. The storage method of the server must correspond. It can also be converted into your own corresponding characters like the one above and passed to the server, and then parsed locally
It is related to the character set. Your character set can support storing varchar
mysql is stored in it or ????
Just change the field type stored in the database, varchar should be fine