Posts Tagged ‘Character encoding’

WordPress Database and Unicode

Early versions of WordPress create Databases using different encoding such as latin1_swedish_ci. As the result, we won’t be able to see Unicode text. We’ll see some kind of curly scripts in the screen. To overcome this problem, we can use a simple solution. That is open your wp-config.php file and do the following edits there.

define(’DB_CHARSET’, ‘utf8′);
define(’DB_COLLATE’, ”);

change it as

//define(’DB_CHARSET’, ‘utf8′);
//define(’DB_COLLATE’, ”); Read the rest of this entry »

Tags: , , , , ,