Thomas Frick
unread,Apr 24, 2012, 5:46:14 PM4/24/12Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Pisa XHTML2PDF Support
Converting html to pdf works just fine (which is extremely useful for
me).
When I attach the pdf to an email using thunderbird, it arrives
intact.
But when I send the pdf from within a python script (using available
email modules), the file arrives corrupted. Looking at it as plain
text, the very end is truncated.
It may have to do with international letters, as replacing the missing
part makes the pdf readable again, but leaves the "äs", "ös" and "üs"
blank.
I am using python 2.5.2, pisa 3.0.33, html5lib-0.95, reportlab-
daily.win32-py2.5 and the email module enclosed with python.
If anybody has a suggestion, I'd be very greatful
Thomas