Wednesday, October 1, 2008

How to enable Chinese in wordpress

The best solution to the character encoding problem in WordPress is to convert the charset or database and collation to UTF-8 or Unicode. UTF-8 Database Converter can be used to overcome this problem.

Download UTF-8 Database Converter,
  1. Open the file `wp-config.php` set `DB_CHARSET` to `utf8` and leave `DB_COLLATE` with nothing. (Just for WordPress 2.2.x)
  2. Upload `UTF8_DB_Converter.php` to the `/wp-content/plugins/` directory.
  3. Activate the plugin through the 'Plugins' menu in WordPress.
  4. Go to the sub menu called 'UTF-8 Database Converter'.
  5. And just follow the instructions on the screen.

No comments:

Post a Comment