Map value is unable to read special characters like "¿"
You have a Map value which is meant to return a currency symbol. The system is unable to process a few currency symbols like "฿" and "元", instead the symbols are getting displayed as "?". This is happening when generating PDF and in PDF, the "฿" sysmbol is coming like inverted question mark.
There are no error messages, but instead of "฿", "?" is displayed.
Steps to Reproduce
- Create a map value who's output is "฿"
- Display that value in a PDF
By Default in Linux, the system can't recognize other fonts. You need to set two parameter values so that system can recognise those fonts.
The root cause of this problem is defect/misconfiguration in the PRPC operating environment. The activity creating the PDF needs the following paramiters set before the call to the HTMLToPDF activity.
Param.pyPDFFontsDirectory = "/usr/local/share/Fonts/" (Font directory path)
Param.pyPDFEmbedFont = "false"
Doing so will allow the system to recognize other fonts and as a result the PDF will use the correct fonts.