Seemingly emoji processing should be with our iOS development has a great relationship, but in fact, for emoji processing as long as the server-side to do it, I said the processing is we put the expression to the server, then what needs to be done on the server side to deal with it?
Server if directly stored we pass past the expression will be problematic, because the database does not support the storage expression, the solution has two kinds is to modify the database encoding, the expression field of the character set to UTF8MB, one way is the server-side storage before the Base64 transcoding, And then take it back to the front desk when you need to do a base64 decoding, so the backstage will return to our normal expression, our background in the development of the use of Base64 transcoding, because the background is another company backstage, our company is very complex, can not move the database, (this method or I call the backstage, I'm so proud. )。 is so simple, as to what emoji encoding what, I think a little bit of understanding is enough, the specific can search online, a lot of, the same!
Emoji Processing of iOS development