EUR currency symbol displays as question mark in PDF
When an application generates a PDF through the activity pyViewAsPDF, the EUR currency symbol (€) displays as a question mark (?) in the PDF.
Steps to Reproduce
Use the activity pyViewAsPDF to generate a PDF for which the source document contains the EUR currency symbol.
The activities pyViewAsPDF, HTMLtoPDF, and activities referenced by these two activities do not correctly process the HTML character entity “€” or its Unicode counterpart. This is most likely caused by an incorrect encoding of the character set that is used in these activities.
For the case described here, the activity pyViewAsPDF (@baseclass:pyViewAsPDF;Pega-IntegrationEngine:07-10-15) refers to the activity HTMLtoPDF (@baseclass:HTMLToPDF;Pega-IntegrationArchitect:07-10-17). Here, an HTML rule passes HTML-Paragraphs as HTMLStream parameter. Some of these HTML-Paragraphs contain the EUR currency symbol.
The third-party software used to generate the PDF needs to refer to a font library containing Unicode characters.
When your application uses the activities pyViewAsPDF, HTMLtoPDF, or activities referenced by these two activities, make sure that a valid directory is passed in the pyPDFFontsDirectory parameter.
Watch this Pega Video: https://pdn.pega.com/pegatube/support-guide-troubleshooting-cyrillic-script-not-appearing-generated-pdf
50% found this useful