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

Hyphen character displayed as '?' character



While generating the data as the file, the Hyphen character displayed as '?' character.

Error Messages

Not applicable

Steps to Reproduce

1. Create a HTML rule.
2. Load the content of HTML rule to Rich Text Editor.
3. Generate the content of RTE to PDF using HTMLTOPDF activity on Button.

Root Cause

A software use or operation error : user did not set the required font parameter to HTMLTOPDF activity. Hence dash character is shown as ?


Perform the following local-change steps:

a) Set the following parameter before calling the HTMLtoPDF activity.
    Set pyPDFGeneratePDFA parameter to true (Param.pyPDFGeneratePDFA = true)
b) Below is the screen print to illustrate.

The significance of the parameter is to forcefully set the fonts directory and required fonts to generate the PDF document.



Published January 16, 2017 - 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