mysqldump with utf8 can not export the right emojis string
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: mysql 5.5.29, utf8mb4 charset, there is a table user containing a field nickname with value hex F09F988EF09F988E that is emojis ??. Now open mysql console, and execute: set names utf8mb4; select nickname, hex(nickname) from user; nickname | hex(nickname) ?? | F09F988EF09F988E and then execute mysqldump --default-character-set=utf8 -utest -ptest test_dev user > user.sql check the user.sql and find the nickname display ?? which hex string is 3f so, how can mysqldump with utf8 export the right emojis string? btw, the database charset