I want to create PDF using php.
that can be in any language(Spanish,Japanese,Chinese…)
And I can not predict in which language the content will be.
"How could i generate the PDF that supports utf-8 chars.
I tries Fpdf,tcpdf creation images the inserting to the pdf.
creating HTML then inserting to the pdf.
no positive results .:sick:
Really frustrated.
Although I haven’t used it myself in any project (actually no such works so far with me), but as i believe that TCPDF is the one in PHP which supports UTF-8 characters what i read in their feature page http://www.tecnick.com/public/code/cp_dpage.php?aiocp_dp=tcpdf.
no external libraries are required for the basic functions;
supports all ISO page formats;
supports custom page formats, margins and units of measure;
supports UTF-8 Unicode and Right-To-Left languages;
tcpdf do support unicode character even hindi but the words are wrongly expanded in the pdf documents which is difficult to understand or read.
especially the half words in the some language are wronly expanded.