[CalendarServer-changes] [3832] CalendarServer/trunk/twistedcaldav/resource.py

source_changes at macosforge.org source_changes at macosforge.org
Wed Mar 11 17:29:37 PDT 2009


Revision: 3832
          http://trac.macosforge.org/projects/calendarserver/changeset/3832
Author:   sagen at apple.com
Date:     2009-03-11 17:29:36 -0700 (Wed, 11 Mar 2009)
Log Message:
-----------
Convert names to unicode before handing over to vobject

Modified Paths:
--------------
    CalendarServer/trunk/twistedcaldav/resource.py

Modified: CalendarServer/trunk/twistedcaldav/resource.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/resource.py	2009-03-11 23:34:25 UTC (rev 3831)
+++ CalendarServer/trunk/twistedcaldav/resource.py	2009-03-12 00:29:36 UTC (rev 3832)
@@ -661,7 +661,8 @@
             if principal is None:
                 return (None, None, None)
             else:
-                return (principal.record.fullName, principal.record.guid,
+                return (principal.record.fullName.decode("utf-8"),
+                    principal.record.guid,
                     principal.record.calendarUserAddresses)
 
         ical.normalizeCalendarUserAddresses(lookupFunction)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20090311/1fbb20e4/attachment.html>


More information about the calendarserver-changes mailing list