[CalendarServer-dev] [Calendar and Contacts Server] #455: non ascii summary in imip
Calendar and Contacts Server
trac at macosforge.org
Mon Jun 27 16:19:46 PDT 2011
#455: non ascii summary in imip
----------------------------------+-----------------------------------------
Reporter: mail@… | Owner: wsanchez@…
Type: Defect | Status: new
Priority: 5: Not set | Milestone:
Component: Calendar Server | Severity: Other
Keywords: | Radar:
----------------------------------+-----------------------------------------
similiar to r7681 the following is needed:
{{{
root at km30208-01:~ # diff
rpmbuild/BUILD/CalendarServer-3.0.svn7677/twistedcaldav/mail.py
/usr/lib/python2.6/site-packages/twistedcaldav/mail.py -u
--- rpmbuild/BUILD/CalendarServer-3.0.svn7677/twistedcaldav/mail.py
2011-06-27 23:53:23.000000000 +0200
+++ /usr/lib/python2.6/site-packages/twistedcaldav/mail.py 2011-06-28
01:15:49.000000000 +0200
@@ -1240,7 +1240,7 @@
results['month'] = dtStart.getMonth()
results['day'] = dtStart.getDay()
- summary = component.propertyValue("SUMMARY")
+ summary = component.propertyValue("SUMMARY").decode("utf-8")
if summary is None:
summary = ""
results['summary'] = summary
}}}
--
Ticket URL: <http://trac.calendarserver.org/ticket/455>
Calendar and Contacts Server </>
HTTP/WebDAV/CalDAV Server
More information about the calendarserver-dev
mailing list