Storing iOS5 Emojis in MySQL
Issue:
iOS5 emojis, represented by 4-byte codes, are not being stored correctly in MySQL 5.5.10. While the character set is set to utf8mb4, the emojis appear as '???' in the database.
Solution:
To store iOS5 emojis in MySQL, ensure the following:
Database Configuration:
Application Configuration:
Data Viewing:
Compatibility:
Once these steps are complete, MySQL should be able to store iOS5 emojis accurately.
The above is the detailed content of How Can I Successfully Store iOS5 Emojis in MySQL?. For more information, please follow other related articles on the PHP Chinese website!