[reportlab-users] V2 bullet

Mike Dewhirst miked at dewhirst.com.au
Thu Jul 13 01:03:10 EDT 2006


I just upgraded from ReportLab version 1.2 to 2.0 and my tests fail in 
one place only. Here is the last bit of traceback ...

   File "C:\usr\bin\lib\encodings\utf_8.py", line 16, in decode
     return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0xb7 in position 0: 
unexpected code byte

Here is the problem ...

     self.bullet_char = chr(183) #'*'

If I swap an asterisk for the chr(183) my tests all work again.

I have never deliberatly used unicode so I'm out of my depth (again). 
What is the correct way to reinstate that bullet?

Thanks

Mike



More information about the reportlab-users mailing list