export word to MAC RRS feed

  • Question

  • User-1830679761 posted


    I've a small function to export (web page) into word document. It works ok in windows. I change the header for Word Mac versuion as follow: However, it works if I re-open the .doc file in texteditor (in MAC), doing nothing and just save it. The it can open the word. If I don't do this, it will report a web archive problem and not opening.

    Does any one know what the issue is?






    MIME-Version: 1.0
    <%  If isMac Then%>Content-Location: file:///C:/B10446B2/Document2.htm
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/html; charset="macintosh"
    <html xmlns:v=3D"urn:schemas-microsoft-com:vml"
    xmlns:css=3D"http://macVmlSchemaUri" xmlns=3D"http://www.w3.org/TR/REC-html=40">
    <%Else%>Content-Type: multipart/related; boundary="----=_NextPart_01C6C3CC.80581A00"
    This document is a Single File Web Page, also known as a Web Archive file.  If you are seeing this message, your browser or editor doesn't support Web Archive files.  Please download a browser that supports Web Archive, such as Microsoft Internet Explorer.
    Content-Location: file:///C:/268BA2D4/ACHS.htm
    Content-Transfer-Encoding: quoted-printable
    Content-Type: text/html; charset="utf-8"
    <html xmlns:o="urn:schemas-microsoft-com:office:office"
    <%end if %>


    Wednesday, November 3, 2010 8:13 PM

All replies