Fwd: Bug in platypus paragraph.py
Paul Mothersdill <[email protected]>
| Newsgroups | gmane.comp.python.reportlab.user |
|---|---|
| Message-ID | <CACSh9j=cTpYajKqPmw21L6S2B9rXGn5DxuRagkfct+EsCXxzGQ@mail.gmail.com> |
Sorry -- previous mail was sent prematurely. There's a helper class in paragraph.py : class _SplitText(str): pass The str here should surely be unicode? The whole programming logic is that it should be a unicode object -- and it fails (of course) if the character is outside the ascii range. I've done limited testing an found that changing this to class _SplitText(unicode): pass solves the problems I've been experiencing. Reportlab open source as found in the standard Ubuntu 14.4 server repositories. ---------- Forwarded message ---------- Date: 2014-05-26 10:58 GMT+02:00 Subject: Bug in platypus paragraph.py To: [email protected] There's a helper class in paragraph.py : class _SplitText(unicode): pass