bug: backup script kills emojis
-
Backups created by this plugin have this at the top of the .sql file
/*!40101 SET NAMES utf8 */;That kills all emojis during imports (e.g.
source <backup.sql>;). Note that the generated backup SQL file has emojis and even tables within are fine (they areCHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci). It’s just that that offending line clobbers emojis during the INSERT operation inside the backup script.Replacing the offending line with
/*!40101 SET NAMES utf8mb4 */;fixes the problem. I do want to add that emoji’s are getting more prevalent – even in business copy. So this was an issue for us till we dug deeper.
The topic ‘bug: backup script kills emojis’ is closed to new replies.