首页 ?Typecho 收录推送中

前言

在我们写文章时,经常会想用一些Emoji表情,但是Typecho本身不支持Emoji表情,那么怎么办呢?马上教你!

教程

1、进入数据库执行以下语句

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;

2、网站根目录数据库配置文件config.inc.php

'charset' => 'utf8mb4',  // 将原来的utf8修改为 utf8mb4




  • 51

    标签总数

  • 46

    文章总数

  • 114,851

    浏览总数

  • 0

    今日更新

  • 0

    稳定运行

欢迎访问尘烟博客,喜欢本站的话关注一下哦~

By:尘烟

文章评论