How to save a text in another language with emoticons into sql database and use it to display on angularJS?
Backend language used is php and frontend is AngularJS. Database mySQL
How to save a text in another language with emoticons into sql database and use it to display on angularJS?
Backend language used is php and frontend is AngularJS. Database mySQL
You must use CHARACTER SET utf8mb4
directly (or indirectly) on all column definitions that expect to have Emoji.
You must connect with utf8mb4
or execute SET NAMES utf8mb4
after connecting.
If you get question marks, Mojibake, etc instead of Emoji, this Q&A may tell you what you failed to do.