mpdf中国語文字化けし問題解決
1080 ワード
mpdf6.1以降使用可能
6.0
転載先:https://www.cnblogs.com/lxdd/p/7919200.html
$mpdf=new \mPDF('zh-cn','A4','','',32,25,27,25,16,13); $mpdf->WriteHTML(" "); $mpdf->Output();
6.0
$this->autoLangToFont = true;
$mpdf=new \mPDF('+aCJK','A4','','',32,25,27,25,16,13); $mpdf->WriteHTML($content); $mpdf->Output();
source: http://nbphp.com/d/16-yii-mpdf 転載先:https://www.cnblogs.com/lxdd/p/7919200.html