Special characters in WordPress UTF-8 [closed]

Edit:

Do you have <meta charset="utf-8" /> in your <head> tag? A user here fixed a similar problem with character encoding by adding this.

There are actually many Google results that come up searching for utf-8 character encoding in wordpress.

Also, does pasting the text into the HTML view of the editor and saving it make any difference?


Below is not such a good idea as @toscho explained in comments.

I am not sure if this is the best method to fix the problem but this worked for one of my clients’ websites.

Find these two lines in your wp-config.php file:

define('DB_CHARSET', 'utf8');
define('DB_COLLATE', '');

And comment them out like so:

//define('DB_CHARSET', 'utf8');
//define('DB_COLLATE', '');

Leave a Comment