After creating a pdf with fpdf, I need to convert it to a png with Imagick. I have no problem with fpdf and encoding. Characters are written in the right way. As an example: