How to store Emoji Character in MySQL Database

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 show

1366 Incorrect string value: ‘\xF0\x9F\x98\x83\xF0\x9F…’ for column
‘comment’ at row 1

23 Answers
23

Leave a Comment