Modify

Opened 15 years ago

Last modified 7 years ago

#4490 new defect

Unicode chars in Flash

Reported by: newash Owned by:
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 (2)

comment:1 Changed 14 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'),

comment:2 Changed 7 years ago by Ryan J Ollos

Owner: Patrick Murphy deleted

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.

Add Comment


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

 
Note: See TracTickets for help on using tickets.