I have som problem with using the swedish characters å,ä & ö (ä å & ö) when creating pdf-invoices. In the html output it looks fine and If I write one of the chars directly in the template it also works correctly in the pdf document. But characters that are inserted by form is not showing correctly. I have tried different locales (sv_SE, sv_SE.utf8, sv_SE.iso88591, swedish and sv_SE.iso885915) that are installed on my system but the problem remains.

Comments

bilbyggaren’s picture

Title: Problems with chars i footer and company names » Partly solved: Problems with chars i footer and company names

I have partly solved this issue by using utf8_decode in the template file. I do however, still have problems with the footer text.

pietervogelaar’s picture

Status: Active » Closed (won't fix)

This problem is caused by Dompdf. That pdf library still doesn't have (full) utf8 support... :(

trigop’s picture

Dompdf is not the problem. You can check the code and the examples in the Dompdf web (http://www.digitaljunkies.ca/dompdf/examples.php#demo), and you'll see that it makes right. I think that the problem is the Invoice module, because it doesn´t transport well the chart to dompdf.

We are sure the problem is the software; if you write the charts directly in the template, doumpdf (Invoice) works perfectly. However if you write in the form, it does it badly.

Are you sure that the problem is dompdf? Or Invoice module?

If anyone else can say something about this, please help us.

We are a non-profit association, working in the culture field in spain. We're interesting in this, because we want to operate across our web using free software only.

Waiting for anwers, thanks for all.