[reportlab-users] Platypus & unicode

Andrew Smart smart at smart-knowhow.de
Wed Nov 14 04:25:20 EST 2007



> -----Ursprüngliche Nachricht-----

> Von: reportlab-users-bounces at reportlab.com

> [mailto:reportlab-users-bounces at reportlab.com] Im Auftrag von

> Andy Robinson

> Gesendet: Mittwoch, 14. November 2007 06:37

> An: Support list for users of Reportlab software

> Betreff: Re: [reportlab-users] Platypus & unicode

>

> On 14/11/2007, Andrew Smart <smart at smart-knowhow.de> wrote:

> > Simple question: do I have to use utf-8 "coded" strings as

> input for

> > Platypus?

>

> Either utf-8 encoded strings or unicode objects (u"Hello

> World"). Both should work. I'd suggest unicode objects.


Hi Andy,

My fault - in my unicode confusion I added test code to some
paragraph.py functions and used at one place .encode instead
of .decode. Sleeping, cleaning up the code and a fresh approach
helps sometime ;-)

Andrew




More information about the reportlab-users mailing list