applying charset in Email Marketing

0

I recently read that the ideal one for building an Email Marketing is not to use:

  
  • DOCTYPE
  •   
  • HTML
  •   
  • tag
  •   
  • BODY
  •   
  • Meta tag
  •   
  • Head tags
  •   
  • Base Tag
  •   
  • Link tag
  •   
  • Script tag
  •   
  • tag Title
  •   
  • Applet tag
  •   
  • Frameset tag
  •   
  • Tag Frame
  •   
  • IFrame tag
  •   
  • tag Comments
  •   

link

How do I solve charset problems? Should not I use the code below?

<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    
asked by anonymous 20.05.2014 / 16:32

1 answer

2

I see two ways to solve your problem:

Set the e-mail header with the desired Content-Type, in your case: Content-Type: text / html; charset = UTF-8

This can be done through your batch email client. For example, in Django this is done by setting this:

msg.content_subtype = "html"  # Main content is now text/html

The charset will be set according to the charset of your Django instance.

The other way is to use the codes or HTML names of the special symbols you are sending.

For example:

<p>Administração</p>

It is converted to:

<p>Administra&#231;&#227;o</p>

Or to

<p>Administra&ccedil;&atilde;o</p>

For this you can use the following converters:

link

link

References

link

link

link

    
20.05.2014 / 17:36