At this time, i fill an ISO-8859-1 pdf with fpdf and fpdi. I want to transform the pdf in UTF-8. Is it possible to use tfpdf with fpdi in order to deal with UTF-8 pdf ?
Asked
Active
Viewed 305 times
1 Answers
2
Currently only the outdated version 1 of FPDI is compatible with tFPDF. A simple demo is available on this page. Create this class:
class FPDF extends tFPDF {}
And load FPDI afterwards so it will extend this class.
An update for FPDI 2 will follow.

Jan Slabon
- 4,736
- 2
- 14
- 29
-
Is it possible to use FPDI 2 with tFPDF now? – RamboNo5 Jul 01 '18 at 08:39
-
1You may check [this](https://github.com/Setasign/FPDI/issues/27#issuecomment-394741480) out. – Jan Slabon Jul 09 '18 at 08:01
-
It works with FPDI 2 for me. – mejem Feb 11 '23 at 22:12