Open wuxian12 opened 3 years ago
Word content contains Chinese, when converted to PDF, all Chinese show ???
以MPDF为例,在vendor/phpoffice/phpword/src/PhpWord/Writer/PDF/MPDF.php,73行后面加上$pdf->autoScriptToLang = true; $pdf->autoLangToFont = true;,就可以解决乱码问题
$pdf->autoScriptToLang = true; $pdf->autoLangToFont = true;
Word content contains Chinese, when converted to PDF, all Chinese show ???