unicode characters in labels broken

Reported by vikingosegundo on 2009-09-22
2
Affects Status Importance Assigned to Milestone
Cairo Plot
Undecided
Unassigned

Bug Description

if using unicode-strings as keys in data, they will be printed improperly to the chart

Example:

    CairoPlot.pie_plot(name='test.png', width=800, height=600, data={'eins':100, 'zwei':48, 'drei':90, 'vier':98,u'fünf':187})

the label "fünf" will be printed as "fünf"

description: updated

I was able to make it work like this:

    u'fünf'.encode('latin-1')

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers