login about faq

SaveAllAttachments interprets accented characters as utf-8 preamble, destroying this character and the next. GetMailAttachFilename returns a different interpretation of the filename, and the two do not match - making it difficult to retrieve the file through the script. A workaround is to set new filenames = getMailAttachFilename before SaveAllAttachments, but the accented characters are then destroyed along with their immediate neighbours. Example: filename = "Øving.pdf" - the document will be saved with a filename "□ing.pdf", and getMailAttachFilename returns "ing.pdf" I develop using Python 2.7 32-bit on a windows server 2008 R2 against an exchange server 2010, and saving the result to a local file/directory. The same results occur when using vbscript. Is there any way I can override the behavour of saveAll.. interpretation of text ? Oh, the reason there is no "lastErrorText" is that there is no error, at least not reported from the chilkat function. Ketil Duna

asked Dec 15 '14 at 14:52

Gamle_Bardun's gravatar image


edited Dec 16 '14 at 01:46

Make sure you are using the latest version of Chilkat.

If VBScript produces the same behavior, then I assume it is possible to reproduce by loading the .eml into an email object via the LoadEml method, and then calling SaveAllAttachments? If so, then I would only need the .eml to reproduce the problem. Please send the .eml to me in a zipped attachment via email..

But first make sure to check using the latest version of Chilkat.

Also, check by using Mozilla Thunderbird to open the .eml and save attachments. If the same problem exists with Mozilla Thunderbird, then the problem is with the data.


answered Dec 17 '14 at 09:45

chilkat's gravatar image

chilkat ♦♦

Your answer
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 15 '14 at 14:52

Seen: 1,614 times

Last updated: Dec 17 '14 at 09:45

powered by OSQA