Fixed issue #9314: Error on PDF export w/ chinese content