Jump to content

Arabic Charset Encoding Problem?


wadboram

Recommended Posts

I'm having a membership site (PHP script) allowing members to have a conversation in the forms of send/receive forms. These messages are saved inside the database (Inbox)When I translated the language files and ran the script, all the Arabic translated text showed questions marks. so I added AddDefaultCharset WINDOWS-1256 line inside the .htaccess file and everything worked fine. The character encoding in the browser is showing (Arabic Windows 1256)Then when testing to send/receive messages between members, I got strange characters like this ظ…ط­ظ…ط¯ طµظ„ط§ط­ ط§ظ„ط¯ظ?ظ† in both their mail boxes and also inside the database. But when I change the browser's character encoding to UNICODE (UTF-8), these messages appear right showing Arabic characters but the whole site's Arabic text shows question marks?I think there's a conflict in the encoding for the site... Can anyone help?

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...