Modify

Opened 5 years ago

Last modified 4 years ago

#4490 new defect

Unicode chars in Flash

Reported by: newash Owned by: murph
Priority: normal Component: FlashGanttPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.11

Description

Hi
I don't know if your code is doing it or it's FusionCharts' fault, but the Flash chart displays non-English unicode charachters incorrectly in milestones' name. For example instead of Rendszertervezés it shows Rendszertervezés.

Attachments (0)

Change History (1)

comment:1 Changed 4 years ago by anonymous

Try this patch

@@ -91,7 +91,7 @@
                 comp_stat = 0
                 if (m.is_completed):
                     comp_stat = 1
-                milestones.append({'name': m.name , 'id': str(cnt),
+                milestones.append({'name': m.name.encode('ascii', 'xmlcharrefreplace') , 'id': str(cnt),
 #                'start_date': pq_sd.strftime('%d/%m/%Y'),
                  'start_date': '01/11/2009',
                 'due_date': format_date(m.due, format='%d/%m/%Y'),

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.