Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

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


 
  1. Create and activity, and in the activity, set param.Markup to "The α is consistent with the β.  АНКЕТА КЛИЕНТА ЮРИДИЧЕСКОГО ЛИЦА" .
  2. Set param.PDFName to "test.pdf.
  3. Call HTMLToPDF.
  4. 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

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us