Something Different In Linux

Home » CMS » Wordpress » Strange characters in WordPress

Strange characters in WordPress

Posted by Rishikesh Vispute Categories: 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.

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 Responses so far.

  1. Hello,

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

  2. Marcus says:

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

Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...