agnitas tag for charset?

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

Moderator: moderator

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

agnitas tag for charset?

Post by skoehler »

Hi,

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"
 "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <title>foo bar</title>
 </head>
<body marginheight="0" marginwidth="0" topmargin="0" leftmargin="0">
  foo bar
</body>
</html>

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.