Strange characters in WordPress

Strange characters ’ and  in WordPress posts
Error : After a wordpress upgrade we started to get all kinds of weird symbols in our posts, including  and ’. I figured it was a character encoding mismatch problem.
Solution:
You have to comment out two lines in your wp-config.php file (found in your main blog directory). These are the two lines:
define(‘DB_CHARSET’, ‘utf8’);
define(‘DB_COLLATE’, ”);
Comment them out like this:
//define(‘DB_CHARSET’, ‘utf8’);
//define(‘DB_COLLATE’, ”);
Fixed our problem.

2 Thoughts to “Strange characters in WordPress”

  1. I did this and It did nothing but reset my WordPress theme to default.

  2. Hello,
    yes, some time this is working and some time not.I think the problem due to some plugins

Comments are closed.