[reportlab-users] Problems with unicode in labels of pie charts

Sebastian Ware sebastian at urbantalk.se
Fri Sep 28 08:12:33 EDT 2007


Okidoki. Thanks for the quick feedback. I'll do the workaround until
a patch is available, is it possible to be notified in case it is a
simple fix?

Mvh Sebastian

28 sep 2007 kl. 13.56 skrev Robin Becker:


> Sebastian Ware wrote:

>> Very interesting!

>> In a UTF-8 encoded source code file I create the following list of

>> labels:

>> [u'ett', u'två', u'tré', '\xc3\xa5\xc3\xa4\xc3\xb6']

>> Where the first and last label prints as expected, but the middle

>> two won't. I guess the work around is to convert the labels to

>> strings and manually replace the non-ascii characters with their

>> unicode encoding, but that doesn't feel too good...

>> Mvh Sebastian

> ....... yes I just checked and unicode labels aren't working for

> the simple labels in pie charts. That's a bug; we're supposed to

> support unicode or utf8 encoded strings everywhere. Thanks for the

> report.

> --

> Robin Becker

> _______________________________________________

> reportlab-users mailing list

> reportlab-users at reportlab.com

> http://two.pairlist.net/mailman/listinfo/reportlab-users




More information about the reportlab-users mailing list