我用TCPDF写完PHP后日文显示乱码,中文不显示.
高手请帮忙...详细点^-^

解决方案 »

  1.   

    自己解决了。字体设定为utf-8.
      

  2.   

    请问在哪里设置utf-8, 谢谢
      

  3.   

    tcpdf有个方法/属性可以设置编码的。。下载的有个 demo 的。可以查看
      

  4.   

    非常感谢,问题解决,我在装一个考试系统TCExam, 里面用TCPDF,后面到网上查了些文档,解决了中文问题,但不是最好的。下面是引用别人的modified the tce_pdf.php line 138 and line 148. To change the default string 'helvetica' to 'stsongstdlight'!