unicode characters in labels broken

Bug #434654 reported by vikingosegundo
2
Affects Status Importance Assigned to Milestone
Cairo Plot
New
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"

Tags: labels unicode
description: updated
Revision history for this message
vikingosegundo (manuel-vikingosegundo) wrote :

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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.