奇怪的字符出现在wordpress [英] Strange characters appearing in wordpress
问题描述
我有一个niggling wordpress问题
每当我添加一个撇号到一个wordpress post我创建
'
将其另存为一组奇怪的字符
我使用过Wordpress很多次, / p>
我已卸载每个插件,问题仍然存在
我在某处注释掉了这些行 wp-config.php
但对新帖不起作用
/ **用于创建数据库表的数据库字符集。 * /
// define('DB_CHARSET','utf8');
/ **数据库整理类型。如果有疑问,请不要更改。 * /
// define('DB_COLLATE','');
有人可以帮助我吗?需要将字符集设置为覆盖某处?怎么样??
我必须更新线程,如下所示。
我跟着每个教程,解决utf-8不匹配,没有帮助
最后,我们发现一些网络钓鱼代码已被注入根索引文件(也链接到一些第三方成人网站,但我们网站没有重定向,
不用说,我们清除了
非常感谢大家的帮助,特别是@ user850010我希望这个线程将对其他人有用
I'm having a niggling wordpress problem
Whenever i'm adding an Apostrophe to a wordpress post I create
'
Its saving as a strange set of characters
’
I've used wordpress many times, never encountered this problem
I've uninstalled every single plugin, and the problem remains
I read somewhere to comment out these lines in wp-config.php
but it doesn't help for new posts
/** Database Charset to use in creating database tables. */
//define('DB_CHARSET', 'utf8');
/** The Database Collate type. Don't change this if in doubt. */
//define('DB_COLLATE', '');
Can someone help me? DO need to set the Charset to override somewhere? How??
I have to update the thread, as follows. I followed just about every tutorial out there addressing utf-8 mismatch, nothing helped Finally we spotted some phishing code had been injected into the root index file (also linked to some 3rd party adult site, but our site was not redirecting , Needless to say, we cleaned that up Many thanks for everyone for helping, especially @user850010 I hope This thread will be useful for others
这篇关于奇怪的字符出现在wordpress的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!