PDF Export with UTF-8 characters
Posted: Wed Mar 03, 2021 2:27 pm
Hello,
we have a problem with the pdf export with special UTF-8 characters.
We have some string fields in our JSON-DataSource, which could contain all kinds of UTF-8 characters. We try to display those fields by text or HTML-text components (font: Arial which is installed by ttf-mscorefonts-installer on the linux machine).
These characters are displayed correctly in the designer, although some characters get missing when we export the report to pdf (see attached example report).
Designer: Exported PDF: I found some posts in this forum, that some fonts do not contain all UTF-8 characters and that's why some characters are missing in the exported report, too.
Is this right and what is the best way to ensure that all utf-8 characters are displayed correctly in the exported pdf?
Thank you for your time.
Best Regards.
we have a problem with the pdf export with special UTF-8 characters.
We have some string fields in our JSON-DataSource, which could contain all kinds of UTF-8 characters. We try to display those fields by text or HTML-text components (font: Arial which is installed by ttf-mscorefonts-installer on the linux machine).
These characters are displayed correctly in the designer, although some characters get missing when we export the report to pdf (see attached example report).
Designer: Exported PDF: I found some posts in this forum, that some fonts do not contain all UTF-8 characters and that's why some characters are missing in the exported report, too.
Is this right and what is the best way to ensure that all utf-8 characters are displayed correctly in the exported pdf?
Thank you for your time.
Best Regards.