Skip to content

Failed to send arabic emails, email losing format

i am trying to send emails in arabic with no luck at all, doesn't sendy works with rtl languages like arabic and hebrew?
email losing format and it comes in weird characters and lots of question marks!

Comments

  • Hi Ahmad,

    Set the $charset in /includes/config.php to utf16. I think utf16 supports Arabic.

    I've never worked with RTL before, but if I'm not wrong you need to to set the css of your newsletter to RTL. http://www.w3schools.com/cssref/pr_text_direction.asp

    Thanks.

    Ben

  • i changed the utf to 16 instead of 8 and it worked like charm! and the email came in rtl correctly
    thanks Ben, you are awesome

  • ok one last thing, i noticed that arabic works fine now but when i have arabic and english word in the same line, they get fliped! i guess this has something to do with the link you posted here... i have very little coding skills so will you please explain further? i still didnt get it

  • Hi Ahmad,

    I have no experience with Arabic texts and how it renders when mixed with English. I guessed you can't mix Arabic and English in one document otherwise it will not be RTL?

    I did a search on Google with "arabic text mixed with english css" and found http://webdesign.about.com/od/localization/a/aa060407.htm. Perhaps it'd give you some understanding?

    Thanks.

    Ben

  • i feel that the solution is in the first link you posted here, will you please explain to me a little bit on how to use this line of code? where do i write it exactly?

  • You can try including the style in your body tag like so → <body style="direction:rtl;">.

This discussion has been closed.