lentak Posted February 5, 2014 Share Posted February 5, 2014 I have problem with UTF-8 chars on PDF invoice again after reinstallation to 5.3.3 version. I am taking the UTF-8 chars from my language file as well as from WHMCS/Setup/General Settings/Pay To Text. It is showing well on HTML invoice but I have "?" char on PDF invoice. I use custom font dejavusans on TCPDF Font Family as described here http://docs.whmcs.com/PDF_Invoice_Customisation The PDF invoice was correct before this upgrade, could you please help me with this? Thanks. 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted February 6, 2014 Share Posted February 6, 2014 Set the collation of the database u created to utf8_general and then install 0 Quote Link to comment Share on other sites More sharing options...
nas2013 Posted February 6, 2014 Share Posted February 6, 2014 I have the same problem after upgrading to v5.3.3 please help solve this issue, 0 Quote Link to comment Share on other sites More sharing options...
thomask Posted February 6, 2014 Share Posted February 6, 2014 Same issue here, we've upgraded our dev instance from 5.2.16 to 5.3.3 and also notice UTF-8 chars problem on invoices and mails sent from whmcs. We use utf8_general_ci on our whmcs base. 0 Quote Link to comment Share on other sites More sharing options...
starnetwork Posted February 6, 2014 Share Posted February 6, 2014 same for me, any solution for that / temp path? 0 Quote Link to comment Share on other sites More sharing options...
pRieStaKos Posted February 6, 2014 Share Posted February 6, 2014 (edited) Put this $mysql_charset = 'utf8'; to configuration.php in your WHMCS root folder. And "UTF-8" rather than "uft-8" in General Settings Edited February 6, 2014 by priestakos 0 Quote Link to comment Share on other sites More sharing options...
essecosi Posted February 6, 2014 Share Posted February 6, 2014 hi I have the same problem. maysql db is in utf in my configuration have added code belov this post, but without results any solutions 0 Quote Link to comment Share on other sites More sharing options...
neo2shyalien Posted February 6, 2014 Share Posted February 6, 2014 (edited) try this into configuration file mb_internal_encoding("UTF-8"); mb_regex_encoding("UTF-8"); Also try to change the font type into General Settings->Invoices to Freesans font. I had the same issue with 5.2 and font changing help me Edited February 6, 2014 by neo2shyalien 0 Quote Link to comment Share on other sites More sharing options...
essecosi Posted February 6, 2014 Share Posted February 6, 2014 :-( don't work - - - Updated - - - where is the folder with fonts ... in new version it doesn't exsist 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted February 6, 2014 Share Posted February 6, 2014 where is the folder with fonts ... in new version it doesn't exsist it's been moved... previously they were in - includes/fonts/ now they're in - includes/classes/tcpdf/fonts/ 0 Quote Link to comment Share on other sites More sharing options...
essecosi Posted February 6, 2014 Share Posted February 6, 2014 heh thank you ... work fine regards 0 Quote Link to comment Share on other sites More sharing options...
Bartucxp Posted February 6, 2014 Share Posted February 6, 2014 it's been moved... previously they were in - includes/fonts/ now they're in - includes/classes/tcpdf/fonts/ You're great, thanks. Copies freesans fonts into includes/classes/tcpdf/fonts/ and problem solved. 0 Quote Link to comment Share on other sites More sharing options...
starnetwork Posted February 9, 2014 Share Posted February 9, 2014 works also for me, thanks 0 Quote Link to comment Share on other sites More sharing options...
Db2000 Posted February 11, 2014 Share Posted February 11, 2014 I do have an issue with a custom font for pdf. It worked fine before the upgrade. I also copied the custom font files to /includes/classes/tcpdf/fonts but it's not working. Ant suggestions? 0 Quote Link to comment Share on other sites More sharing options...
neo2shyalien Posted February 11, 2014 Share Posted February 11, 2014 I do have an issue with a custom font for pdf. It worked fine before the upgrade. I also copied the custom font files to /includes/classes/tcpdf/fonts but it's not working. Ant suggestions? Try my fonts pack from this thread Actually this font pack is from 5.2 version 0 Quote Link to comment Share on other sites More sharing options...
Db2000 Posted February 11, 2014 Share Posted February 11, 2014 Try my fonts pack from this thread Actually this font pack is from 5.2 version Hi, I'm not using freesans, but a custom font. It seems to be that the custom font is not being found.. 0 Quote Link to comment Share on other sites More sharing options...
a.sheipani Posted February 13, 2014 Share Posted February 13, 2014 Hi, I'm having the same issue here even after copying the font files to the new folder, except now instead of question marks I get weird characters. I'm using "alarabiya" font. 0 Quote Link to comment Share on other sites More sharing options...
lysenshi Posted February 18, 2014 Share Posted February 18, 2014 it's been moved... previously they were in - includes/fonts/ now they're in - includes/classes/tcpdf/fonts/ Thanks a lot, that fixed the issue. when upgrading over existing installation, you wouldn't expect they changed the fonts location. 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.