asd200 Posted May 31, 2016 Share Posted May 31, 2016 Hi guys, I'm trying to change e-mail invoice character coding, but I can't find a solution... invoice generated in panel is ok, but in e-mail looks like on the screenshot: Thanks for help, regards 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted May 31, 2016 Share Posted May 31, 2016 Choose compatible font, check: http://docs.whmcs.com/PDF_Invoice_Customisation#Question_Marks http://docs.whmcs.com/PDF_Invoice_Customisation#Additional_Fonts 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted May 31, 2016 Author Share Posted May 31, 2016 But now in invoice settings helvetica is checked, and for sure this font support polish language characters... So problem is not there. Any other suggestions? 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted May 31, 2016 Share Posted May 31, 2016 have you tried another font, "dejavu" for example? http://www.whmcs.com/download/106/dejavusans_tcpdf_font 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 31, 2016 Share Posted May 31, 2016 also, check the encoding of your Polish language file and/or overrides file to ensure that it is correctly UTF-8 encoded. 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted May 31, 2016 Author Share Posted May 31, 2016 And dejavusansbi files already exist in this location, but to make sure I overwrited them and there is still the same problem 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted May 31, 2016 Author Share Posted May 31, 2016 Ok now I got it works, but special letter is not capilalized. Is there any way to fix this? look on a screen 0 Quote Link to comment Share on other sites More sharing options...
sentq Posted May 31, 2016 Share Posted May 31, 2016 try "freeserif" font too, here you can see how it looks http://www.tcpdf.org/examples/example_008.pdf 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted May 31, 2016 Author Share Posted May 31, 2016 Damn still the same And this letter is not so big thing, but if somebody will have Name or Surname like Łucja Łażenko it will be not so good to send PDF invoice with łucja łażenko 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted May 31, 2016 Share Posted May 31, 2016 have you checked the language file ? you'd always have the option of using a custom string (using capitals) in an language override and editing the template to use it. 0 Quote Link to comment Share on other sites More sharing options...
asd200 Posted June 1, 2016 Author Share Posted June 1, 2016 Yep you're right, I translated this phrases in language file to CAPS and it's working. Name and surname beginning with capital letter working as well Thanks for your help guys, Regards! 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.