Are your posts displaying “funny characters”?

If after upgrading your MySql server or after upgrading your self-hosted WordPress install to a later version, your WP posts show gibberish characters (see image below), chances are the character set in your MySql install is ‘latin1′ which is causing incompatibility with the ‘utf8′ WordPress default charset.

According to MySql resources, you can convert your default server charset from ‘latin1′ to ‘utf8′ by modifying the server’s initialization file. This is fine if you have the time and technical skills, and of course access to your server’s root files.

The easiest workaround I found out, and without touching your server’s root files at that, on how get rid of those “funny characters” is to edit one of the lines in your wp-config.php file.

To do this, open the wp-config.php in a text editor after downloading the file via FTP to your local drive, or opening the wp-config.php using the file manager of your server’s control panel.

Once opened, look for that line (about line number 30) commented out with /** Database Charset to use in creating database tables. */

Next to that line is: define(‘DB_CHARSET’, ‘utf8′);

Simply change ‘utf8′ to ‘latin1′ and save the file, and then upload the file to your server if you edited the file in your local drive. Otherwise, just close the editing window of your Control Panel’s file manager.

That’s it.

Did you find this useful? Please leave me a message.

How to set up your theme

This entry is part 3 of 5 in the series WordPress 101

The next thing I suggest is for you to get hold of a nice theme for your site.

There are hundreds of professional-looking free themes on the web. But before going outside, have a look first of what you already have.

With WP3.0, a standard Twenty Ten theme is built in. The theme is very powerful and it has been built by the team of Automattic, the same people behind WordPress.

Please Login or Register to read the rest of this content.