[reportlab-users] ReportLab and IronPython

Tom T. mailinglisttank at googlemail.com
Thu Mar 1 02:25:54 EST 2012


Hi Robin,

fond the (utf-8-)problem and a solution here:
http://two.pairlist.net/pipermail/reportlab-users/2009-August/008694.html

Changing in pdfdoc.py on line 897

"%%\223\214\213\236 ReportLab Generated PDF document
http://www.reportlab.com"+LINEEND)

in

"%%\x00DF\x00D6\x00D5\x00EC ReportLab Generated PDF document
http://www.reportlab.com"+LINEEND)

works fine for me.

I'm using IronPython 2.7.1.


Tom


2012/2/29 Robin Becker <robin at reportlab.com>


>

>

> .........

>

> UnicodeDecodeError: ('unknown', u'\x93', 0, 1, '')

>>

>>

> u'\x93' is a left Double Quotation Mark. I don't think we have that

> explictly anywhere in our code. I think the drawing code tries to support

> either explicit unicode or utf8 encoded strings.

>

> Can you say which IronPython you're using?

>

>

> Do you have any ideas?

>>

>>

>> Thanks a lot,

>>

>> Tom

>>

> .

> --

> Robin Becker

>

> ______________________________**_________________

> reportlab-users mailing list

> reportlab-users at lists2.**reportlab.com<reportlab-users at lists2.reportlab.com>

> http://two.pairlist.net/**mailman/listinfo/reportlab-**users<http://two.pairlist.net/mailman/listinfo/reportlab-users>

>

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


More information about the reportlab-users mailing list