Jump to content

I had override FPDF with TCPDF, it work for UTF-8.


Recommended Posts

I cannot fixed Thai language which always be unreadable characters in generated UTF-8 PDF file when use with FPDF class.
I have done with Thai Fonts name AngsanaUPC.

So, I change FPDF to TCPDF that support UTF-8 encoding. this will make easy in PDF.php file not needs to convert by Tools::iconv(). I think TCPDF more easiler when your PDF file may contains more than one language. I am done it and Thai language now can embedded in PDF file. also I remove Tools::iconv() from PDF.php file. (let TCPDF do all about encoding)


if you cannot generate PDF file in your language, you may success when move to TCPDF.

just want to say.

Link to comment
Share on other sites

×
×
  • Create New...