International Language PDF Files in C Sharp and Dot NET

IronPDF supports HTML-To-PDF in non-latin script languages including: Chinese, Japanese, Arabic, Hebrew, Russian, Thai, Japanese and all international languages supported by Unicode including mixed language documents.

There are 2 things to consider when working with International languages:


A typeface that supports your character set must be installed on your server. These are normally automatically installed on modern web servers, but older servers may have been installed with older versions of some fonts such as Arial which may not have full UTF-8 Support.

An alternative solution is to specify a Web Font in your CSS such as provided by Google Fonts.

Input Encoding

You may have to specify the input encoding of your document to render correctly. You may do this in the following ways:

  1. Adding a HTML "Meta Charset" Tag e.g. <meta http-equiv="Content-Type" content="text/html;charset=UTF-8"\>

  2. Setting The inputEncoding property of your IronPDF HML to PDF converter. Please read:

IronPdf.HtmlToPdf Renderer = new IronPdf.HtmlToPdf();

Renderer.PrintOptions. InputEncoding = System.Text.Encoding.UTF8;

Dim Renderer As New IronPdf.HtmlToPdf()

Renderer.PrintOptions.InputEncoding = System.Text.Encoding.UTF8

VB   C#