FPDF - Mix of Chinese and English characters
Posted on 2011-02-28
I am generating a PDF file with PHP/FPDF. I need to be able to display Chinese and English characters at the same time.
The data are coming from a database (MySQL) where Chinese and English characters can coexist in the same field.
I can not figure out how to do that (I've searched the web for resources but none of them seem to work, or they could work if you only have Chinese characters).
An alternative would be to convert the content of the database to images and to display them in the PDF file, but I'd like to avoid this workaround.
- in case someone has a solution, I would need step by step instructions to put it in place
- my configuration can not be changed: I have to use PHP, MySQL, FPDF.
Thank you for your help.