开发者

Fatal error: Uncaught exception 'PDFlibException' with message 'Couldn't find encoding 'cp936'

开发者 https://www.devze.com 2023-03-03 07:29 出处:网络
I encounter this problem Fatal error: Uncaught exception \'PDFlibException\' with message \'Couldn\'t find encoding \'cp936\'...

I encounter this problem

Fatal error: Uncaught exception 'PDFlibException' with message 'Couldn't find encoding 'cp936'...

It gives this error when running on the computer that localization is (Chinese RPC), but localization (English) it works fine.

I am using dompdf 开发者_运维问答plugin.

Anyone has idea on how to solve this problem? thanks


The font you're trying to use isn't installed on the server, or it doesn't support the extended character set.

Also, for PDF generation, I recommend TCPDF. I'm not sure about CI integration though.

0

精彩评论

暂无评论...
验证码 换一张
取 消