I've been trying to create an arabic blog. When I enter the data it displays properly in the entry and in the preview. However when I look in the database the entry is not displayed in UTF-8, it's stored as gibberish. When I publish the entry it only gibberish is output.

I've checked that the table and fields are all set to UTF-8.

I have set the following entry within the mt-config.cgi:
PublishCharset utf-8

The odd thing is that when i log out and then login, and I go to view the entry it displays properly. How can it display correctly when it is not stored properly?

Anyone have any ideas as to how I can get the entry to publish correctly? ie display the arabic properly?

My configuration is as follows:
Moveable Type latest version (non-enterprise)
MySQL 4.x
Linux
The output files are php files

Thanks,
Omar