I need to generate a PDF report from my MySql. The problem appears when we want to write in Persian. The PDFlib appearently doesn't support UTF-8. I also checed UFPDF. It neither work well.
Any advice?
I use:
PHP Version 4.3.7
mysql: Client API version 3.23.49

Recommended Answers

All 3 Replies

I am also interested in UTF-8 support PDFlib Lite since I need to write Cyrillic text into a PDF.

Any suggestions please?

Member Avatar for diafol

For Cyrillic - have you tried FPDF?


I haven't tried it with Cyrillic, but I think it should work.

For Persian, does the PDF_load_font() function help in any way?

Many thanks for that - I will have a look at FPDF

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.