开发者

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜