Support Article
PDF is generated with ? for Cyrillic characters
SA-53083
Summary
PDF generated shows ? for Cyrillic characters, for example Russian language text for Pega 7.3.1.
Error Messages
Not applicable
Steps to Reproduce
- Create and activity, and in the activity, set param.Markup to "The α is consistent with the β. АНКЕТА КЛИЕНТА ЮРИДИЧЕСКОГО ЛИЦА" .
- Set param.PDFName to "test.pdf.
- Call HTMLToPDF.
- Call Code-Pega-PDF.View.
Root Cause
In order for proper conversion, a font folder must be specified.
Resolution
Place the required fonts in a Pega server folder and specify the path in param.pyPDFFontsDirectory, for example "/usr/local/tomcat/fonts".
Published July 25, 2018 - Updated October 8, 2020
Have a question? Get answers now.
Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.