Forum Bugs

Some characters generating incorrectly

jsgarvin
Some characters are not coming out correct on our generated PDF's. For instance, we'll have "Millán" in the HTML, and get "Millán" in the generated PDF.

What can we do to get Prince to process these characters correctly?

This is user submitted data, so we can't anticipate what they might enter, or expect them to do any special escaping.

Thanks.
mikeday
First you need to know the encoding of the text. It looks as if it is UTF-8, so if you're using HTML you will need to add this as the first element in the document <head>:
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">