Try to solve UTF-8 PDF encoding problems.