PDF generation for UTF-8 environments