branch | py33 |
changeset 3937 | f685e0de4282 |
parent 3931 | ceee76b69e7c |
child 3954 | 44dbe56eb858 |
--- a/src/reportlab/platypus/paraparser.py Tue Dec 10 13:59:54 2013 +0000 +++ b/src/reportlab/platypus/paraparser.py Tue Dec 10 14:01:59 2013 +0000 @@ -759,7 +759,8 @@ v = '\0' elif 'code' in attr: try: - v = chr(int(eval(attr['code']))) + v = int(eval(attr['code'])) + v = chr(v) if isPy3 else unichr(v) except: self._syntax_error('<unichar/> invalid code attribute %s' % ascii(attr['code'])) v = '\0'