Help - Search - Members - Calendar
Full Version: charset changes when sendind html page as email attachment
HTMLHelp Forums > Web Authoring > Markup (HTML, XHTML, XML)
davidm.me
hi,
I'm sending an HTML file as an Email attachment, when I send it the <meta> tag contains "charset=iso-8859-8" - Hebrew(ISO-Visual), but when the recipiant opens the HTML attachment the
charset has changed to "charset=iso-8859-8-i" which causes the text to appear left-to-right instead of right-to-left as I sent it.
What causes this behaviour and how can I correct it?

Thanks for any help
David
"Paddling upstream looking for the source"
Segev Moran@learn-a2z.com
Some mail services providers remove header tags from the mail.
If the character shows fine but only LTR Instaed of RTL you can just add a style to the body or if this deosnt work, and a table and set the style to the table's cell (That contains all the body content).
The style should be something like this:

CODE

<table>
    <tr>
          <td style='direction:rtl;'>
                 PAGE CONTENT HERE
          </td>
    </tr>
</table>


Hope this helps.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.