[reportlab-users] reportlab-users Digest, Vol 78, Issue 25

杨英超 yangyingchao at gmail.com
Fri Oct 29 12:11:05 EDT 2010


LOL, Let's see what will happen ...
Thanks, Henning.

2010/10/30 <reportlab-users-request at lists2.reportlab.com>


>

> You misunderstood.

> I suggest to fix reportlab actually:

> saveToFile is a method in pdfdoc.py which should be fixed.

>

> Henning

>

>

> At 2010-10-28 00:00:26?reportlab-users-request at lists2.reportlab.com wrote:

>

> >Probably not a good idea.

> >Instead, you better remove the 2 calls to utf8str in saveToFile

> >entirely and use the filename as is.

> >Then, when you specify the filename argument, use a unicode

> >object instead of a byte-string (the built-in open works fine with

> unicode).

> >

> >HTH

> >Henning

> >

>

>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/reportlab-users/attachments/20101030/05ca9238/attachment.htm>


More information about the reportlab-users mailing list