Ticket #1143 (new defect)

Opened 2 months ago

Last modified 2 months ago

reportWriter raises Unicode-Error with non-ascii testdata for paragraph elements

Reported by: kweinert Assigned to:
Priority: major Milestone: 0.8.3
Component: reporting Version: 0.8.2
Keywords: unicode Cc:

Description

It happens with the following version of reportWriter.py: Last committed at revision 3887 Updated to revision 3912

The problem seems to be solved by changing line 1042 of reportWriter.py from

expr = unicode(expr)

to

expr = unicode(expr, self.Encoding)

however, I did not really understand the code...

Attachments

resourcePlan.rfxml (7.6 kB) - added by kweinert on 03/12/2008 03:26:58 PM.
sample frxml
testRprt.py (1.0 kB) - added by kweinert on 03/12/2008 03:28:07 PM.
test script

Change History

03/12/2008 03:26:58 PM changed by kweinert

  • attachment resourcePlan.rfxml added.

sample frxml

03/12/2008 03:28:07 PM changed by kweinert

  • attachment testRprt.py added.

test script

03/12/2008 06:40:07 PM changed by kweinert

The proposed change breaks reportWriter working on real cursors, not just testdata. The current version of reportWriter works fine with real data.