[reportlab-users] PDF with UTF-8 char

Matthew Somerville matthew at mysociety.org
Fri Dec 9 08:07:58 EST 2005


Satish Kalipatnapu wrote:
> I need to dynamically generate PDF contaning UTF-8 characters.

http://www.pledgebank.com/mondakomerco/flyers
http://matthew.pledgebank.com/test12/flyers
All our PDFs are generated with ReportLab.

> Any pointers on how to generate a PDF with multibyte characters mixed 
> with chinese and japanese? I appreciate any input in this regard.

All I'm doing is using TrueType fonts rather than the built in ones, and 
supplying the text in UTF-8 byte encoding.

HTH,
Matthew


More information about the reportlab-users mailing list