Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

让Typecho支持emoji表情 - 可汗的个人小站 #15

Open
Imyukehan opened this issue Aug 17, 2023 · 0 comments
Open

让Typecho支持emoji表情 - 可汗的个人小站 #15

Imyukehan opened this issue Aug 17, 2023 · 0 comments

Comments

@Imyukehan
Copy link
Owner

https://blog.khan.moe/2019/08/03/%E8%AE%A9Typecho%E6%94%AF%E6%8C%81emoji/

所谓Emoji就是一种在Unicode位于\u1F601-\u1F64F区段的字符。 在服务器根目录下查看config.ini.php可以发现typecho默认使用的是utf-8编码,而在 MySQL 中,UTF-8只支持最多 3 个字节,而 emoji 是 4 个字节,这个显然超过了目前常用的UTF-8字符集的编码范围\u0000-\uFFFF。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant