> Would it also work if I would set Allow8BitChars to TRUE, Charset to
> "UTF-8" and manually encode all string properties like "HdrTo",
> "HdrSubject" and "MailMessage.Text" using Utf8Encode()?
No, the headers contain their charset inline as part of the string, and
are encoded using function HdrEncodeInLine in MimeUtils, an example looks
> My assumption was that the header lines should not contain non-ASCII
> characters, but maybe it is legal to use UTF-8 if the header also
> declares something like
> Content-Type: text/plain; charset="UTF-8"
The headers may have different charset to the content, indeed they are
usually ASCII. Never use the body charset to decode the headers.
To unsubscribe or change your settings for TWSocket mailing list
please goto http://lists.elists.org/cgi-bin/mailman/listinfo/twsocket
Visit our website at http://www.overbyte.be