pdf文件转换swf时,文件中的中文乱码或者文件中的文字无法转换

1.中文乱码时:

在web.config添加如下:

  <system.web>
        <globalization requestEncoding="gb2312" responseEncoding="gb2312" fileEncoding="gb2312"  responseHeaderEncoding="gb2312" />
</system.web>

 

2.文件中的文字消失,没有转换到swf中时,解决方法:

   a.在IIS中,找到支持该程序的应用程序池,比如AppPool,打开它的属性,设置“标识”——>“预定义账号”为本地系统。

  b.在当前页面的<page ...>里加两个属性:enableEventValidation="false" viewStateEncryptionMode ="Never"

     或者 在web.config中添加

<pages enableEventValidation="false" viewStateEncryptionMode ="Never" /
 
posted @ 2015-01-10 11:32  聆听的风声  阅读(182)  评论(0)    收藏  举报