ReportLab, PDF and Latin-1 characters

Svenne Krap usenet2002 at
Wed Mar 12 21:47:24 CET 2003

Hi - yes, it's me again :)

Being a native danish speaker, we are blessed with three extra letters
Working with pdfgen, i get

from reportlab.pdfgen import canvas
c = canvas.Canvas("C:\\mypdf.pdf")

but then, I get : 

UnicodeError: ASCII encoding error: ordinal not in range(128)

How do I manage to get Latin-1 (or even better full unicode) support
in pdfgen ? 


More information about the Python-list mailing list