Morocco Time RSS Feed
 
 
 
 

Wordpress and Arabic

After upgrading my Wordpress install, Arabic text simply wouldn’t render - even in the post edit screen. As soon as the post was saved, it became “??????”

After a lot of searching around, trying different themes, using code to force the font, etc… here’s the solution:

In your wp-config.php, delete the two lines,

define(’DB_CHARSET’, ‘utf8′);
define(’DB_COLLATE’, ”);

Wheee!!!

One Response to “Wordpress and Arabic”

  1. Gravatar
    1
    Heather B:

    I hate dealing with foreign languages and databases, I had a serious issue with a danish forum after moving it from one server to another… it was such a huge headache…

Leave a Reply

What Time Is it?


Morocco
11-19-2008 10:58 pm
Ohio
11-19-2008 6:58 pm

In Brief

 

August 2007
M T W T F S S
« Jul   Sep »
 12345
6789101112
13141516171819
20212223242526
2728293031  

Categories

Fav Me


Add to Technorati Favorites

Add to Google

Recent Comments

UserOnline

Amazigh

Daily Reads

Expats

Food

Iran

Irish

Morocco

Technology