Message1965

Author sysrmn
Recipients
Date 2007-10-05.17:11:55
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The following works with Jython 2.2 and 2.1, but is broken in 2.2.1:

Jython 2.2.1rc2 on java1.5.0_07
Type "copyright", "credits" or "license" for more information.
print u"Num\u00e9ro requis."
Traceback (innermost last):
   File "<console>", line 1, in ?
UnicodeError: ascii encoding error: ordinal not in range(128)

It also breaks Reportlab. While printing an invoice containing  
accented characters, the following message is displayed:
   ...
   File "N:\DEV\TEST\reportlab-1.19.jar\reportlab/platypus/ 
tables.py", line 357, in _calc_height
UnicodeError: ascii encoding error: ordinal not in range(128)

Lines 356 and 357 are:
                             if t is not StringType:
                                 v = v is None and '' or str(v)
History
Date User Action Args
2008-02-20 17:18:04adminlinkissue1808214 messages
2008-02-20 17:18:04admincreate