Mysql database on 000webhostapp.com does not support emoji!


#1

I am trying to add texts to mysql database using php and when there is any emoji in text it will get converted to question mark(?) for eg. if I add “hello :slight_smile:” It will become "hello ? "
What can I do please help.


#2

@vicky_r Have you tried this in your script head section.


#3

I also tried to insert emoji directly into mysql database but it gets converted to question mark(?)


#4

https://mathiasbynens.be/notes/mysql-utf8mb4

Not sure if this would be something that 000webhost has went with and if you need the feature you might just need to upgrade :confused: