National characters in phantom pdf recipe

03-15-2014 11:22

I often get following image throught email from people starting with jsreport

national characters

This is what phantom-pdf recipe will render by default when you try to render some national characters (china, czech..)

There is a easy fix for this. Add coding to the html header. ščěščě

    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
     Česko není Čečensko

Then yoou will get proper result