<div dir="rtl"><div dir="ltr">Try to use charset=iso-8859-8 instead (it's more correct for hebrew i think).<br>David<br><br></div><div><br><div class="gmail_quote"><div dir="ltr">2011/1/17 shimi <span dir="ltr"><<a href="mailto:linux-il@shimi.net">linux-il@shimi.net</a>></span></div>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div dir="ltr"><div class="gmail_quote"><div class="im">2011/1/17 Ori Idan <span dir="ltr"><<a href="mailto:ori@helicontech.co.il" target="_blank">ori@helicontech.co.il</a>></span><br>
</div><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<div dir="ltr">I am sending HTML mail in Hebrew from a server running Ubuntu 10.4 and PHP 5.3.2<div><div></div><div class="h5"><div>When sending the mail as UTF-8 with the header set to Content-type: text/html; charset=UTF-8 the mails are read as gibrish.</div>
<div>When converting to windows-1255 (and changing the Content-type header) the hebrew received Ok but it is received as plain text (seeing HTML tags)</div><div>Does anyone have any idea how to solve it? (preferably without changing setup in outlook)</div>
<div><br></div><div>Everything works fine when sending to gmail.</div><div><br><br></div></div></div></div></blockquote><div><br>In the HTML (between <head> and </head>), try having also a: <br><br><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><br>
<br>tag.<br><br>If that didn't help... try sending the message as a multipart MIME message, one part with text (text/plain) (strip_tags() to kill the HTML), and the other as proper HTML.<br><br>I think It should do the trick...<br>
<br>Of course, verify that what you're sending, is, indeed, utf-8. i.e. if it's hard coded in some file, that this file is saved encoded as utf-8.<br><br>HTH,<br><br>-- Shimi<br></div></div><br></div>
<br>_______________________________________________<br>
Linux-il mailing list<br>
<a href="mailto:Linux-il@cs.huji.ac.il">Linux-il@cs.huji.ac.il</a><br>
<a href="http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il" target="_blank">http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>בברכה,<br>דוד רונקין<br>
</div></div>