L
Lokutus
Hi.
In Lotus Notes I have a server side script that generates (using OLE) a
Word file from template. After creating a .doc file I call
Call ActiveDocument.SaveAs(FileName, wdFormatHTML, False,,,,,,,,,
msoEncodingUTF8)
The result is .htm file, encoded as UTF-8. That's OK. But in source of
this page still remains following declaration:
<meta http-equiv=Content-Type content="text/html;
charset=windows-1250">
This declaration causes problems with fonts. If I remove this
declaration, everything is OK. But I don't want to check every line
while streaming the whole HTML page on server to remove one stupid
line.
Is there a way to declare content of the Word file as UTF-8 to avoid
problems with META element?
Notice: I need UTF-8, because Domino server sends stream as UTF-8.
Thanks in advance. Jiri
In Lotus Notes I have a server side script that generates (using OLE) a
Word file from template. After creating a .doc file I call
Call ActiveDocument.SaveAs(FileName, wdFormatHTML, False,,,,,,,,,
msoEncodingUTF8)
The result is .htm file, encoded as UTF-8. That's OK. But in source of
this page still remains following declaration:
<meta http-equiv=Content-Type content="text/html;
charset=windows-1250">
This declaration causes problems with fonts. If I remove this
declaration, everything is OK. But I don't want to check every line
while streaming the whole HTML page on server to remove one stupid
line.
Is there a way to declare content of the Word file as UTF-8 to avoid
problems with META element?
Notice: I need UTF-8, because Domino server sends stream as UTF-8.
Thanks in advance. Jiri