TCPDF UTF-8. Lithuanian symbols not showing up

前端 未结 15 673
-上瘾入骨i
-上瘾入骨i 2020-12-01 06:47

Im using latest TCPDF version(5.9). But have some strange problems with encoding. I need Lithuanian language symbols like: ąčęėįšųūž. But get only few of it. Other remain li

15条回答
  •  既然无缘
    2020-12-01 07:13

    For this use the following code of the parameter TCPDF constructor

    $pdf = new TCPDF(PDF_PAGE_ORIENTATION, PDF_UNIT, PDF_PAGE_FORMAT, false, 'ISO-8859-1', false);
    

    It will help you.

提交回复
热议问题