agnitas tag for charset?

Use this forum for all questions related to the source code of OpenEMM

Moderator: moderator

Posts: 14
Joined: Sat Feb 17, 2007 10:08 pm

agnitas tag for charset?

Post by skoehler » Sat May 05, 2007 4:01 am


imagine, you're writing a template. And your HTML-template looks like this:

Code: Select all

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
  <title>foo bar</title>
<body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">
  foo bar

So we're thinking of adding a meta-tag like this:

Code: Select all

<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
We might have found some silly mail-client software, which needs that meta-tag. (Actually, OpenEMM correctly specifies the charset in the header of the MIME-part so the meta-tag should be totally uncessary)

But of course - as a programmer - i don't want to statically bind the template to usage of iso-8859-1. I would rather like to replace iso-8859-1 by the current selected charset of the mailing.

Is this possible?
If not, i would like to suggest that.