I have a mht-File which will not be shown in InternetExplorer 9. I have seen, that the text/html-part is encoded in base64:
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64
Could this be the reason, that IE9 will not be able to show the MHT-File?
Internet explorer 9 can open such MHT files with no problem.
Here are two files you can test with:
quoted printable.quoted printableHTML and re-encoded it asbase64.See if you can open both of those files.
You can also decode the base64 (for example, here: http://www.opinionatedgeek.com/dotnet/tools/base64decode/) and see what HTML it produces. If the base64-encoded data is corrupt, it may produce bad HTML that the browser cannot display.
UPDATE: I looked at the MHT file linked in the comment below. It does not contain a valid HTML page in it and therefore it cannot be displayed in Internet Explorer.
The original decoded HTML:
When I removed the invalid tags added by Outlook (the
<o:p>and similar) and added<html>andbodytags around the whole thing, the MHT file opened correctly in Internet Explorer.In short, Outlook produces bad HTML and Internet Explorer doesn’t know how to read it.