†and ⠖ Strange characters in WordPress posts

I met these days weird at . I didn't have much anymore to rip all database, because of strange characters †and Â, appeared overnight in most posts. I thought it would be an error at SQL.
I didn't realize which characters weren't “digested”, but it was certain that something at Encoding was not going as it should. Nor did Google stay for nothing. In two days, these wonders indexed in the search engine appeared.

caractere ciudate

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

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

cu:

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

“//” Cancel the line. Of course, the same effect would be if you wipe out all two lines.
After making the above changes and saves the WP-Config.php file, everything is back to normal.

Founder and editor Stealth Settings, din 2006 pana in prezent. Experienta pe sistemele de operare Linux (in special CentOS), Mac OS X , Windows XP > Windows 10 si WordPress (CMS).

Home Your source of IT tutorials, useful tips and news. †and ⠖ Strange characters in WordPress posts
Leave a Comment