trouble in converting unicode template to pdf using xhtml2pdf
问题 I have unicode used in my html page, which is displaying correctly in the html page. But while converting it into html using xhtml2pdf, it generating black, solid square boxes in the unicodes. Is there some setting for unicode other than UTF-8 setting. I dont think its unicode problem. # convert HTML to PDF pisaStatus = pisa.CreatePDF( StringIO(sourceHtml.encode('utf-8')), dest=resultFile) Complete py code: # -*- coding: utf-8 -*- from xhtml2pdf import pisa from StringIO import StringIO