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
utf8mb4_general_ci
For Rails, next to the accepted answer, don't forget to add:
encoding: utf8mb4 collation: utf8mb4_bin
to your database.yml