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.
精彩评论