最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

encoding - Get ?? for unicode characters

programmeradmin0浏览0评论

I'm facing a huge problem : every smileys copy from the website emojipedia appear like ?? on my website.

The HTML page charset is utf8.

The structure table in the DB (wp_posts) is :

All is working fine (accent like é è à etc.) but not something like : ✔️

This symbol appear like ?? in preview and when I save the post.

I've try to change in the .htaccess : AddDefaultCharset UTF-8 to AddDefaultCharset off but without success.

Here is a part of the .htaccess file :

# BEGIN WP Rocket v3.3.4
# Use UTF-8 encoding for anything served text/plain or text/html
AddDefaultCharset off
# Force UTF-8 for a number of file formats
<IfModule mod_mime.c>
AddCharset UTF-8 .atom .css .js .json .rss .vtt .xml
</IfModule>

In the wp-config, the constant DB_CHARSET and DB_COLLATE are not set.

Any ideas?

发布评论

评论列表(0)

  1. 暂无评论