Bugzilla #41434: Fix PDF Genaration for non-ASCII compatible locales. Submitted by: Martin Kögler <martin.koegler.at.brz.gv.at>