YII2数据库支持emoji 操作步骤 操作步骤 修改 数据库 charset 为 utf8mb4;修改 数据表 charset 为 utf8mb4;修改 表字段 charset 为 utf8mb4;修改 config/db.php charset 为 utf8mb4;