HTML to PDF translation not correct

In I see the following:
* @return Directory with fonts for generate PDF from HTML
String getPdfFontsDirectory();

How does this needs to be changed in order to replace:
\n to <br/>
ź to z
ł to l

Hello @d.van.utterbeeck,

Use the following guidelines for proper conversion Converting HTML to PDF - CUBA Platform. Report Generator