Richard Hart

Head of Something @ Somewhere
Kent, UK

My Music
My Photos


PDFKit not displaying £ (pound) signs properly

I’m generating PDFs with PDFkit/wkhtmltopdf on a current project. While the output is fine in the browser, £ (pound) signs in the generated PDF were showing up incorrectly as:


The fix was relatively easy as PDFs have their own view layout, so all I had to do was add an extra meta tag to the head: