Lotus notes 从Lotus脚本打印Word文档时的特殊字符
我的应用程序中有一个代码,可以在word中打印一些数据。 在代码的某个地方,我这样做:Lotus notes 从Lotus脚本打印Word文档时的特殊字符,lotus-notes,lotusscript,lotus,Lotus Notes,Lotusscript,Lotus,我的应用程序中有一个代码,可以在word中打印一些数据。 在代码的某个地方,我这样做: gerarSumarioSeger = gerarSumarioSeger + |<p>| + docP.ds_assunto(0) + |</p>| gerarSumarioSeger=gerarSumarioSeger+||+docP.ds|u assto(0)+|| 我组装HTML,从文档中的字段获取数据。好的,一点也不难。 但是,如果我试着打印两个文档,它们在这个字段中包含
gerarSumarioSeger = gerarSumarioSeger + |<p>| + docP.ds_assunto(0) + |</p>|
gerarSumarioSeger=gerarSumarioSeger+||+docP.ds|u assto(0)+||
我组装HTML,从文档中的字段获取数据。好的,一点也不难。
但是,如果我试着打印两个文档,它们在这个字段中包含像图像中那样的数据
<p style="visibility:hidden;">ã</p>
如果我选择了另一个文档,其字段中的内容如bellow,则不会发生错误:
<p style="visibility:hidden;">ã</p>
杰拉尔合作社-德森沃尔维门托部长会议
Agrário社会福利协会
我认为您必须将字符集添加到html中,例如:
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
与“windows-1258”一起使用的是字符集,而不是“UTF-8”