login about faq

I'm getting mail data with FetchSingleAsMimeAsync. There are some mails which say

Content-transfer-encoding: 7bit

in their header. But this isn't the case as they have so-called "high ascii" characters in the body. The Chilkat plugin GETS the data as WindowsANSI but DEFINES the encoding as UTF8. When I reverse this I get the correctly encoded data:

currentBody = currentBody.ConvertEncoding(Encodings.WindowsANSI)
currentBody = currentBody.DefineEncoding(Encodings.UTF8)

This usually is a big no-no for encodings but here it unscrambles the data. I have the workaround in place. But I know from a similar occurrence of this problem that changing the encoding takes a long time.

Xojo 2016r4, Mac OS 10.11.6, Chilkat plugin from 23.06.2016


Beatrix Willius

asked Dec 27 '16 at 03:13

bwill's gravatar image


edited Dec 27 '16 at 03:14

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: Dec 27 '16 at 03:13

Seen: 1,184 times

Last updated: Dec 27 '16 at 03:14

powered by OSQA