[CalendarServer-changes] [8740] CalendarServer/trunk/twistedcaldav/util.py

source_changes at macosforge.org source_changes at macosforge.org
Tue Feb 21 13:01:16 PST 2012


Revision: 8740
          http://trac.macosforge.org/projects/calendarserver/changeset/8740
Author:   sagen at apple.com
Date:     2012-02-21 13:01:16 -0800 (Tue, 21 Feb 2012)
Log Message:
-----------
pycalendar wants utf-8

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

Modified: CalendarServer/trunk/twistedcaldav/util.py
===================================================================
--- CalendarServer/trunk/twistedcaldav/util.py	2012-02-21 20:44:15 UTC (rev 8739)
+++ CalendarServer/trunk/twistedcaldav/util.py	2012-02-21 21:01:16 UTC (rev 8740)
@@ -455,7 +455,7 @@
         # in a parameter value except as the start/end delimiters.
         # Single quotes are allowed, so we convert any double-quotes
         # to single-quotes.
-        fullName = rec.fullName.decode("utf-8").replace('"', "'")
+        fullName = rec.fullName.replace('"', "'")
 
         # TODO: remove V1Compatibility when V1 migration is complete
         if config.Scheduling.Options.V1Compatibility:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20120221/a041c20a/attachment-0001.html>


More information about the calendarserver-changes mailing list