0
我想用LibreOffice Basic编写一个UFT8编码的文本文件。如何在LibreOffice中编写UFT8编码文件?
这里http://wiki.openoffice.org/wiki/Documentation/BASIC_Guide/Structure_of_Text_Documents#Example:_simple_HTML_export的示例显示了使用常规文本写作
Filename = "c:\temp\text.html"
FileNo = Freefile
Open Filename For Output As #FileNo
Print #FileNo, "<html><body>"
我的段落和段落内的文本元素遍历文档段落的文本元素
Enum2 = TextElement.createEnumeration
While Enum2.hasMoreElements
TextPortion = Enum2.nextElement
...
Wend
根据调查结果文件内容被写入文本HTML文件。
但是不写入Unicode字符。是否可以启用UFT8字符书写?