DOMPDF problem with Cyrillic characters

后端 未结 7 1293
故里飘歌
故里飘歌 2020-12-08 17:48

I am using the DOMPDF library to create an invoice in PDF. This document can be in French, Russian or English, but I am having trouble printing Russian characters.

F

7条回答
  •  星月不相逢
    2020-12-08 18:20

    For me the 4 steps above didn't resolve the issue. Besides that, dompdf converts created pdf to ANSI (ISO) You need to disable this on the options page http://domain.com/admin/settings/print/pdf

    Tick the checkbox Use dompdf's Unicode Mode. This will force to create files in UTF-8/Unicode.

    Please note that web settings override settings in dompdf_config.inc.php by default.

提交回复
热议问题