解决方案 »

  1.   

    html2fpdf我实在是搞不定了,换成了html2pdf
    Vendor('html2pdf.html2pdf');
            $html2pdf = new HTML2PDF('P', 'A4', 'fr', true, 'UTF-8', array(30, 20, 25, 25));
            $html2pdf->parsingCss->fontSet('DejaVuSans');
            $html2pdf->WriteHTML("<p>出来吧悟空</p>this is a test");
            $html2pdf->Output("sample.pdf",'I');
            echo "PDF file is generated successfully!";
    结果出来中文汉字全是??  
     请问各位大神,该怎么解决啊