关于php html2pdf 生成动态pdf问题

WBOY
Release: 2016-06-23 14:03:29
Original
1254 people have browsed it

html2fpdf.php 文件有乱码,下载了几个版本都一样.求更正.

384行:else $this->textbuffer[] = array("护?/*identifier*/.$this->specialcontent."护?.$e);

915行:$this->cell[$this->row][$this->col]['textbuffer'][] = array("护?/*identifier*/."type=image,width=".$sizesarray['WIDTH'].",height=".$sizesarray['HEIGHT']."护?.$sizesarray['OUTPUT']);

还有几行,都是,"护?"这个东西是啥?


回复讨论(解决方案)

编码问题吧,你换个编码看看吧

换了,UTF-8,big5都不行.看有没有兄弟下载过的.发一个没有乱码的这个文件给我.

http://sourceforge.net/projects/html2fpdf/files/html2fpdf/HTML%202%20PDF%20-%20a%20PHP%20script%20%283.0.1beta%29/html2fpdf-3.0.1b.zip/download

这是下载文件,.

因为的中文转码失败了吧

解决了么,我遇到一样的问题了,339250868,解决了的话联系我下行么

有人没啊,同样的问题,谁解决了告诉下,谢谢

这里是3个???号 你是用window系统吧 系统编码导致的,在Linux下不会有这种情况,建议装个虚拟机

3.0 ?
版本太旧,不具挑战性

去年3月份下的都 html2pdf_v 4.03

source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!