login about faq

My work is parsing attached files in eml file.

When my program recived a eml file that have an attached file encoded in ISO-2022-JP, can't get file name correctly.

mime content about attaced file. Content-Type: application/octet-stream; name="=?ISO-2022-JP?B?RGFvdUphcGFuXxskQkJfPVA/PUBBPXEbKEIueGxzeA==?=" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename0=ISO-2022-JP''%44%61%6F%75%4A%61%70%61%6E%5F%1B%24%42%42%5F%3D; filename1=%50%3F%3D%40%41%3D%71%1B%28%42%2E%78%6C%73%78

parsed file name : "XXXJapan貸P=@A=q.xlsx"

file name in outlook : "XXXJapan_貸出申請書.xlsx"

asked Feb 03 '15 at 01:24

angleafro2's gravatar image


I fixed this problem. Please tell me which version of VC++ you are using and I will provide a new build.


answered Feb 03 '15 at 22:42

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: Feb 03 '15 at 01:24

Seen: 760 times

Last updated: Feb 03 '15 at 22:42

powered by OSQA