â € and - strange characters in WordPress posts

We met these days ciudatetine to . I did not have much to whack all databaseBecause of strange characters â € si Â, Appeared overnight in most positions. I thought a be a sql error.
I never realized the characters were not "digested" but the encoding was certainly something not going as they should. Neither Google has nothing. In just two days, these wonders appeared in the search engine index.

junk

The problem is quite stressful, but it can be easily solved.
In file config the WordPress wp-config.php, replace lines :

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

with:

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

"/ /" Cancel the line. Bineintels, the same effect would be even if you delete all the lines.
After you make the above changes and save the file wp-config.php, everything returns to normal.

â € and - strange characters in WordPress posts

About the author

Stealth LP

Founder and editor Stealth SettingsIn 2006 date.
Experience on Linux operating systems (especially CentOS), Mac OS X, Windows XP> Windows 10 and WordPress (CMS).

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment is processed.