Debugging: Email Script (Arabic)

I am looking for a DEBUGGER for an Arabic registration script that sends out an automated response in Arabic. The script is in PHP connected to MySQL and uses a language file which has definitions of all variables.

The email sent out from system displays junk characters in mail client such as Outlook and Thunderbird while works fine in free emails such

as gmail and yahoo.

Developers with proven skills in PHP (specially with Arabic) will be preferred.