Title: UTF-8 pdf template
Last modified: April 29, 2020

---

# UTF-8 pdf template

 *  Resolved [stipavica](https://wordpress.org/support/users/stipavica/)
 * (@stipavica)
 * [6 years ago](https://wordpress.org/support/topic/utf-8-pdf-template/)
 * When I send an email with a pdf template, I have “?” instead UTF-8 characters
   in email. How to resolve this?

Viewing 11 replies - 1 through 11 (of 11 total)

 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [6 years ago](https://wordpress.org/support/topic/utf-8-pdf-template/#post-12750985)
 * Do you mean the “?” is in the pdf template? Or in the body of the mail? Can you
   provide an example?
    Also, how are you sending the mail (via “php mail”, “wp 
   mail”, smtp, …)? It is in the EME settings.
    -  This reply was modified 6 years ago by [Franky](https://wordpress.org/support/users/liedekef/).
 *  Thread Starter [stipavica](https://wordpress.org/support/users/stipavica/)
 * (@stipavica)
 * [6 years ago](https://wordpress.org/support/topic/utf-8-pdf-template/#post-12751090)
 * [https://prnt.sc/s7zqrq ](https://prnt.sc/s7zqrq) (from pdf template in email)
 * I am sending the mail with SMTP.
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [6 years ago](https://wordpress.org/support/topic/utf-8-pdf-template/#post-12751107)
 * Ok, so the issue is in the PDF template, correct? Can you provide such a character,
   so I can try it too?
 *  Thread Starter [stipavica](https://wordpress.org/support/users/stipavica/)
 * (@stipavica)
 * [6 years ago](https://wordpress.org/support/topic/utf-8-pdf-template/#post-12751125)
 * try this: č ć đ ž š
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [6 years ago](https://wordpress.org/support/topic/utf-8-pdf-template/#post-12751600)
 * Ok, the reason is mentioned here:
    [https://github.com/dompdf/dompdf/wiki/About-Fonts-and-Character-Encoding](https://github.com/dompdf/dompdf/wiki/About-Fonts-and-Character-Encoding)
 * So, for now to solve it quickly I changed the font to “Dejavu Sans” on the PDF
   output (but this might not be to the liking of everyone, so to be discussed …).
   
   This is the change: [https://plugins.trac.wordpress.org/changeset/2294362/](https://plugins.trac.wordpress.org/changeset/2294362/)
 *  Thread Starter [stipavica](https://wordpress.org/support/users/stipavica/)
 * (@stipavica)
 * [6 years ago](https://wordpress.org/support/topic/utf-8-pdf-template/#post-12752028)
 * Now template is correct but when I submit RVSP form I have this error message:_
   An error has occurred_
    The form is submitted successfully.
    -  This reply was modified 6 years ago by [stipavica](https://wordpress.org/support/users/stipavica/).
    -  This reply was modified 6 years ago by [stipavica](https://wordpress.org/support/users/stipavica/).
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [6 years ago](https://wordpress.org/support/topic/utf-8-pdf-template/#post-12752339)
 * That means you have an error … you should check your logfiles. If the error did
   not occur before your changes but they do now, it means you have a typo. If not,
   you should post/show a demo event where this problem can be reproduced and also
   start a new thread (because the RSVP part is then not related to the pdf issue).
   Also, check if the error occurs without the PDF attachment.
 *  Thread Starter [stipavica](https://wordpress.org/support/users/stipavica/)
 * (@stipavica)
 * [6 years ago](https://wordpress.org/support/topic/utf-8-pdf-template/#post-12752762)
 * I have no error without PDF Template, I added your code to members, people and
   rvsp.php files and it cause the error. Do you know why?
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [6 years ago](https://wordpress.org/support/topic/utf-8-pdf-template/#post-12753275)
 * Well, that means you have a typo somewhere. Did you check your webserver php 
   error logfiles? And also an example event would help …
 *  Thread Starter [stipavica](https://wordpress.org/support/users/stipavica/)
 * (@stipavica)
 * [6 years ago](https://wordpress.org/support/topic/utf-8-pdf-template/#post-12753448)
 * no errors in log file. I try with an example event and I have the same error.
 *  Plugin Author [Franky](https://wordpress.org/support/users/liedekef/)
 * (@liedekef)
 * [6 years ago](https://wordpress.org/support/topic/utf-8-pdf-template/#post-12754267)
 * Then post an url to a test event please, so I can try too.

Viewing 11 replies - 1 through 11 (of 11 total)

The topic ‘UTF-8 pdf template’ is closed to new replies.

 * ![](https://ps.w.org/events-made-easy/assets/icon-256x256.png?rev=1856035)
 * [Events Made Easy](https://wordpress.org/plugins/events-made-easy/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/events-made-easy/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/events-made-easy/)
 * [Active Topics](https://wordpress.org/support/plugin/events-made-easy/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/events-made-easy/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/events-made-easy/reviews/)

 * 11 replies
 * 2 participants
 * Last reply from: [Franky](https://wordpress.org/support/users/liedekef/)
 * Last activity: [6 years ago](https://wordpress.org/support/topic/utf-8-pdf-template/#post-12754267)
 * Status: resolved