Answer the question
In order to leave comments, you need to log in
How to configure mpdf to work with cyrillic?
I can't configure mpdf to work with cyrillic characters. Downloaded V6.0 mpdf crashes a bunch of errors
Answer the question
In order to leave comments, you need to log in
At least they showed the code, the text of the errors. And yet, mpdf is not friendly with non-zero mbstring.func_overload
ini_set("mbstring.func_overload","0");
$html = '
IP Ivanonv Ivan
';
include("mpdf.php");
$mpdf = new mPDF('utf-8', 'A4', '10', 'Arial', 0, 0, 5, 5, 5, 5);
$mpdf->charset_in = 'utf-8';
$mpdf->list_indent_first_level = 0;
//Write html
$mpdf->WriteHTML($html);
$mpdf->Output();
unpack(): Type n: not enough input, need 2, have 0 in /srv/smb/web/test.mitra.ru/mpdf/html/classes/ttfontsuni.php
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question