Today’s question

is, why do I have to add the line:

mysql_query(“SET NAMES ‘utf8′”);

to the file /wp-includes/wp-db.php right after line 43, as described in the wordpress support forum to get my utf-8 data to display correctly when moving from php4 and mysql 4.1.11 to php5 and mysql 5.0.

I find it really odd that I had to do this ugly hack to get it working but everything else I tried unfortunately failed.