encoding - how are smileys encoded in mysql utf-8 mb4 database? -


i changed mysql database utf-8 mb4, users enter smileys mobile phones / mac. works (users can enter smileys , smileys shown in web app on supported devices), whenever have @ table contents (via terminal or mysql workbench) shows each smiley single question mark. how smileys saved? assume got utf-8 mb4 code, there way @ those?

thanks!

i suspect workbench running in utf8 mode, not utf8mb4. change that.

to further verify data stored correctly, select hex(col) ... see actual bytes stored. example: 😁 => f09f9881


Comments

Popular posts from this blog

google chrome - Developer tools - How to inspect the elements which are added momentarily (by JQuery)? -

angularjs - Showing an empty as first option in select tag -

php - Cloud9 cloud IDE and CakePHP -