I am trying to create posts in hindi language. These characters UÃeÃMÃüqÃÃU
after saving/publishing are interpreted as U�e�M��q��U
. Though, the special characters are stored with no change in the mysql database. The �
symbol is only during retrieving.
I’m stuck here. The post editor is modified to intake multiple posts. http://www.farinspace.com/multiple-wordpress-wysiwyg-visual-editors/
I tried commenting these lines in wp-config.php. But none worked.
/** Database Charset to use in creating database tables. */
define('DB_CHARSET', 'UTF-8');
/** The Database Collate type. Don't change this if in doubt. */
define('DB_COLLATE', '');
Also, placed mysql_query("SET NAMES utf8");
in wpdb class constructor of wp-db.php. Negative, even this didn’t work
How do i overcome this?
try
define('DB_CHARSET', 'utf8');
this is what’s in my wp-config.php
and remove
define('DB_CHARSET', 'UTF-8');
Its utf-8 character encoding problem. Fixed it using the function utf8_encode():