GKey Posted August 22, 2007 Share Posted August 22, 2007 Hello, I am experimenting with using Unicode in Client Profile fields and at the moment I'm stuck with some problems in PDF invoices. In PDF Invoice Unicode text appears in its "raw" form (like & # 4 3 1 6 ; ). Could anyone advice how could I make Unicode code visible in PDF ? Thanks in advance 0 Quote Link to comment Share on other sites More sharing options...
pkilam Posted August 23, 2007 Share Posted August 23, 2007 I am not sure if this answer your question. The script used to generate PDF in WHMCS I guess is fpdf. However, the original version of fpdf (ie. the one in WHMCS) do not support multibyte character (I think) There are some PHP class from the fpdf.org site that extend the orignal fpdf class and make it to support some multibyte character like japanese, chinese, etc.... I modified the pdfconfig.php so that it use the extended class to generate the acrobat file. I can successfully create an readable pdf invoice in chinese, you may check to see if you can modify those class to support unicode.... 0 Quote Link to comment Share on other sites More sharing options...
trine Posted August 23, 2007 Share Posted August 23, 2007 what language are you trying to support. see also: http://www.whmcs.com/forums/viewtopic.php?t=4021&highlight=fpdf 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.