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: éëïóöü
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!
Tags: headless chrome special characters, headless chrome unicode, headless chrome utf-8, html to pdf unicode, html to pdf utf-8, special characters pdf, unicode pdf, utf-8 pdf, wkhtmltopdf special characters, wkhtmltopdf unicode, wkhtmltopdf utf-8Comments are closed.