How to store Emoji Character in MySQL Database

后端 未结 16 2287
迷失自我
迷失自我 2020-11-22 05:34

I am using Emoji character in my project. That characters are saved (??) into mysql database. I had used database Default collation in utf8mb4_general_ci. It sh

16条回答
  •  时光说笑
    2020-11-22 06:14

    Well, you need not to change the Whole DB Charset. Instead of that you can do it by changing column to blob type.

    ALTER TABLE messages MODIFY content BLOB;

提交回复
热议问题