saviola Posted April 26, 2007 Share Posted April 26, 2007 I have problem with charset of pdf . When my customers download the invoice with pdf extension , but they can't read it because charset error . Who can tell me how to change charset to utf-8 ??? Thanks alot. 0 Quote Link to comment Share on other sites More sharing options...
trine Posted April 26, 2007 Share Posted April 26, 2007 Actually that is quite easy.... From what I can remember, I don't think FPDF supports the UTF-8 charset, and won't print if the font used does not have all the characters needed. This all means that you will need to use a supported encoding and embed the font it in the PDF. FPDF supports: * cp1250 (Central Europe) * cp1251 (Cyrillic) * cp1252 (Western Europe) * cp1253 (Greek) * cp1254 (Turkish) * cp1255 (Hebrew) * cp1257 (Baltic) * cp1258 (Vietnamese) * cp874 (Thai) * ISO-8859-1 (Western Europe) * ISO-8859-2 (Central Europe) * ISO-8859-4 (Baltic) * ISO-8859-5 (Cyrillic) * ISO-8859-7 (Greek) * ISO-8859-9 (Turkish) * ISO-8859-11 (Thai) * ISO-8859-15 (Western Europe) * ISO-8859-16 (Central Europe) * KOI8-R (Russian) * KOI8-U (Ukrainian) 0 Quote Link to comment Share on other sites More sharing options...
trine Posted May 24, 2007 Share Posted May 24, 2007 We have once tried to do this with multibyte chars, but ended up using another pdf creation technique altogether. The one included with WHMCS will work perfectly for most, needing latin charsets. 0 Quote Link to comment Share on other sites More sharing options...
Strats Posted August 15, 2007 Share Posted August 15, 2007 Hmmm, my setup uses iso-8859-7 which suppose to be supported but the greek characters on pdf cannot be read. I know TCPDF supports it. Maybe if there is a way to integrate the TCPDF... 0 Quote Link to comment Share on other sites More sharing options...
Giannis Posted September 4, 2007 Share Posted September 4, 2007 Is there any chance to make the existing pdf processor to display greek characters ???? Thank you 0 Quote Link to comment Share on other sites More sharing options...
Strats Posted September 4, 2007 Share Posted September 4, 2007 I know it can be done in JOOMLA with the use of TCPDF. Maybe if Matt has sometime to see the modified files in my joomla's tcpdf, he will provide a solution 0 Quote Link to comment Share on other sites More sharing options...
Giannis Posted September 4, 2007 Share Posted September 4, 2007 that would be great. 0 Quote Link to comment Share on other sites More sharing options...
marquis_ce Posted March 5, 2008 Share Posted March 5, 2008 Actually that is quite easy.... From what I can remember, I don't think FPDF supports the UTF-8 charset, and won't print if the font used does not have all the characters needed. This all means that you will need to use a supported encoding and embed the font it in the PDF. FPDF supports: * cp1250 (Central Europe) * cp1251 (Cyrillic) * cp1252 (Western Europe) * cp1253 (Greek) * cp1254 (Turkish) * cp1255 (Hebrew) * cp1257 (Baltic) * cp1258 (Vietnamese) * cp874 (Thai) * ISO-8859-1 (Western Europe) * ISO-8859-2 (Central Europe) * ISO-8859-4 (Baltic) * ISO-8859-5 (Cyrillic) * ISO-8859-7 (Greek) * ISO-8859-9 (Turkish) * ISO-8859-11 (Thai) * ISO-8859-15 (Western Europe) * ISO-8859-16 (Central Europe) * KOI8-R (Russian) * KOI8-U (Ukrainian) You say FPDF supports Turkish but my pfd invoices still has the problem about turkish characters? Is there any solution? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.