[Solved] Issue rendering UTF-8 or Unicode characters in HTML and PDFs

Intro

Api2Pdf is popular all over the world and therefore we have customers who need to generate PDFs in many different languages. One problem that has come up recently is that a customer needed to render characters from their native language: Dutch. Dutch has some special characters that require unicode or UTF-8. For example, these: éëïóöü. But, when PDFs were being generated, it was showing up as: Ã©Ã«Ã¯Ã³Ã¶Ã¼

Render Special Characters in PDF

To add unicode and utf-8 in PDFs, you need to add <meta charset=”UTF-8″> to the <head> section in your HTML. That’s all there is to it!

More posts

View all

Website redesign!

We’ve given the website a complete refresh.Our previous site launch in September 2024 was primari...

V2 XL now available

Our default public SaaS line at v2.api2pdf.com has the current limitations of 2 gb of memory, 2 C...