[CalendarServer-users] UTF-8 in events

Frank Strauß strauss at ibr.cs.tu-bs.de
Tue Dec 12 02:08:56 PST 2006


Storing non-ASCII UTF-8 characters in events now seems to work. I tried 
this with Mulberry.

Unfortunately, when I try to read that calendar with a Sunbird client, a 
similar exception like before occurs. I'm running the server at r804.

(I got this running although the repository provisioning does not work, 
by  using a filesystem layout created with a previous revision.)


2006/12/12 12:01 +0200 [HTTPChannel,5,134.169.34.51] REPORT 
/calendars/user/strauss/calendar/ HTTP/1.1
2006/12/12 12:01 +0200 [-] Exception rendering:
2006/12/12 12:01 +0200 [-] Unhandled Error
         Traceback (most recent call last):
           File 
"/home/strauss/Developer/Twisted/twisted/internet/defer.py", line 239, 
in callback
             self._startRunCallbacks(result)
           File 
"/home/strauss/Developer/Twisted/twisted/internet/defer.py", line 304, 
in _startRunCallbacks
             self._runCallbacks()
           File 
"/home/strauss/Developer/Twisted/twisted/internet/defer.py", line 317, 
in _runCallbacks
             self.result = callback(self.result, *args, **kw)
           File 
"/home/strauss/Developer/Twisted/twisted/internet/defer.py", line 647, 
in gotResult
             _deferGenerator(g, deferred)
         --- <exception caught here> ---
           File 
"/home/strauss/Developer/Twisted/twisted/internet/defer.py", line 623, 
in _deferGenerator
             result = g.next()
           File 
"/home/strauss/Developer/Twisted/twisted/web2/dav/method/report.py", 
line 126, in http_REPORT
             yield d.getResult()
           File 
"/home/strauss/Developer/Twisted/twisted/internet/defer.py", line 609, 
in getResult
             self.result.raiseException()
           File 
"/home/strauss/Developer/Twisted/twisted/python/failure.py", line 259, 
in raiseException
             raise self.type, self.value, self.tb
         exceptions.UnicodeEncodeError: 'ascii' codec can't encode 
characters in position 289-291: ordinal not in range(128)


More information about the calendarserver-users mailing list