[reportlab-users] Unicode support in platypus.para Module?

Dirk Holtwick holtwick at spirito.de
Thu Jun 29 05:58:40 EDT 2006


here once again my yet unanswered question. Is it possible, that the
para.py module has no Unicode support? Will it be added in future?

Yours Dirk

Dirk Holtwick schrieb:
> Hello,
> at first it is great that now Unicode is widely supported in the
> Reportlab Toolkit. Thanks.
> Now to my problem: I use the platypus.para module for generating pages.
> If I now use an opcode that is coded in UTF-8 or Unicode I get
> exceptions. The easiest way to reproduce this, is to encode a string in
> the 'test_program' in the module itself.
> To fix an error I got with my program I changed the method "runOpCodes"
> in line 703 of the recent version in the repository to:
>                     opcode = opcode.encode("latin1","ignore")
>                     text = escape(opcode)
> Then it works fine for Postscript and TTF fonts. Any idea?
> Bye, Dirk
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at reportlab.com
> http://two.pairlist.net/mailman/listinfo/reportlab-users


Dirk Holtwick


spirito GmbH
Dirk Holtwick
Grünstraße 6
D-47051 Duisburg

fon:   +49-203-3187777
fax:   +49-203-34666896
mbx:   holtwick at spirito.de
web:   http://www.spirito.de
skype: holtwick

GnuPG fingerprint (http://www.gnupg.org)
A5A1 54E1 C82E 02AD 4804  0547 66F4 3FB0 C790 EBAB

Wichtiger Hinweis:

E-Mails können leicht verfälscht oder unter fremdem Namen erstellt
werden. Zu Ihrer und unserer Sicherheit schließen wir die rechtliche
Verbindlichkeit des vorstehenden Inhaltes aus, mithin dient der
Versand von E-Mails ausschließlich dem Informationsaustausch.
Bitte  senden Sie in Ihrem eigenen Interesse keine E-Mails in
fristgebundenen Sachen.

More information about the reportlab-users mailing list