Getting ’ encoding errors with NRECO Html to Pdf

The meta command is wrong. It should be either

<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>

or

<meta charset="UTF-8"/>

(with no http-equiv).

Note, however, that using a meta command for the charset is no guarantee that the desired charset is indeed used. The actual http header may override this setting with a charset of its own.

Also, with regards to your comment that it's rendered correctly, note that web browsers may use a different algorithm to determine the encoding than the dll. Correcting the meta command may or may not help.

Tags:

C#

Html