Posted: January 23, 2017 at 9:21 am
Hi, MySQL database has right encoding. What to do, my other support topic has not been answered for more than 20 days. |
|
Can you check the PHP info for your server and verify that Multibyte Support (mbstring) is enabled? |
|
Yes, it is enabled. |
|
OK, can you try making an edit to the event-espresso-core-reg/core/libraries/messages/messenger/EE_Pdf_messenger.class.php file? On line 353, it has this:
You can change that to:
|
|
Thank you Josh, it shows me now Estonian letters, but it has problem with € sign. € is showed as ? in the PDF. |
|
Hi there, Are there any other plugins activated on your WordPress site that use the DOMPDF library? |
|
Hi, |
|
In that case, can you change the code on line 353 back (remove the edit), then generate the PDF invoice will all other WordPress plugins deactivated? |
|
I figured it out the € sign by myself. Googled the DOMPDF and euro sign and figured out if I use it with HTML code it will be fine. So I went to Countries settings, edited my country symbol to € instead of € and saved settings. After that € appeared in Countries settings and PDF. So the thing is not another plugins but things how DOMPDF works. |
|
By editing I meant € = |
|
As the code automatically transforms the sign, I pasted € sign in HTML here – http://pastebin.com/v9vGagbM |
|
What you concluded about DOMPDF isn’t necessarily correct. The DOMPDF library that’s bundled with Event Espresso makes the correction for the euro symbol. However, if you have another plugin that also loads in the DOMPDF library, then the DOMPDF library that’s bundled with Event Espresso will not load. |
|
The support post ‘Invoice UTF8 template doesn't work’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.