Have you tried setting the encoding type in the HTML header?
Add the following to the <head> section of your HTML:
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
This should result in your Arabic (and other non-ascii) characters being displayed correctly.
However, it is important to note that when sending emails in HTML format, you will always have a problem, because different common email clients have completely different capabilities - even more than browsers.
One person can open an email in the current version of Outlook, another in a ten-year copy. Someone may use some version of Thunderbird, and many others will use an email client such as Hotmail, Yahoo, Gmail or many others. Perhaps even people who still have their email address display text messages, not HTML.
You probably have no control over this, so itβs important to make sure that you have tested various email clients. However, given that you are sending Arabic text, it can be assumed that most of your recipients will use an email client that can successfully display Arabic, so hopefully this fact alone should mitigate the worst of these problems for you.
Spudley
source share