Typecho添加支持Emoji表情

执行以下sql语句,修改typecho数据库中表的编码格式为utf8mb4

alter table typecho_comments convert to character set utf8mb4 collate utf8mb4_general_ci;
alter table typecho_contents convert to character set utf8mb4 collate utf8mb4_general_ci;
alter table typecho_fields convert to character set utf8mb4 collate utf8mb4_general_ci;
alter table typecho_metas convert to character set utf8mb4 collate utf8mb4_general_ci;
alter table typecho_options convert to character set utf8mb4 collate utf8mb4_general_ci;
alter table typecho_relationships convert to character set utf8mb4 collate utf8mb4_general_ci;
alter table typecho_users convert to character set utf8mb4 collate utf8mb4_general_ci;

修改config.inc.php配置

'charset' => 'utf8mb4',  # 修改编码为 utf8mb4
建站程序

获取Gravatar头像 QQ邮箱取用qq头像

2021-12-9 11:26:56

建站程序

WordPress 快速移除所有文章的特色图片

2022-4-7 8:23:25

0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索