russian (any) language in wordpress
I tried to setup a new wordpress blog. To my unpleasant surprise, I got a problem with cyrillic letters. They just didn't work, being displayed as junk or as question marks. I spent some time to find out how to correctly setup WordPress for the utf8 environment. Actually, it's very easy:
The Mysql database should be created this way:
CREATE DATABASE name CHARACTER SET utf8 COLLATE utf8_general_ci;
The file wp-config.php should contain:
define('DB_CHARSET','utf8');
In case of troubles, the database must be revised first. Check the UTF8 options and texts using phpMyAdmin.
Categories:
blogging