login about faq

We have been using the Chilkat.Email2 & Chilkat.MailMan2 components for VBscript for a while now.

However, we have always had a problem with the mail subject lines when they contain French accented characters (éèà...)

I have read many posts on the internet, however I cannot get it solved.

Our situation : An external website sends a UTF-8 encoded XML to our internal Windows server. The XML contains the subject line.

On our internal server, a scheduled VBscript picks up the XML and composes the email (chilkat). However, when the mail is sent, french accented characters are swapped for other characters on windows systems. Mac mail clients seem to receive the mail as intented.

The VBscript file is encoded as UTF-8 We have tried setting the email.Charset = "iso-8859-1" & also email.Charset = "UTF-8" with no difference We have also tried setting email.Language = "latin1" with no difference

The email body has the same problem, but we have solved this by first encoding the body as html, thus all the correct characters are displayed. However, html is not working inside the subject field, it shows the html codes, unlike the body.

Any help is appreciated.

asked Nov 06 '15 at 05:21

Peterf's gravatar image


Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported



Asked: Nov 06 '15 at 05:21

Seen: 2,032 times

Last updated: Nov 06 '15 at 05:21

powered by OSQA