[GroupDAV] Problem with ISO-8859-1 encoded iCals and OGo Zidestore

Samuli Seppänen groupdav@opengroupware.org
Mon, 13 Nov 2006 16:52:33 +0200


I've managed to synchronize OpenGroupware.org with a Nokia E61 using 
Funambol and Funambol GroupDAV connector. The problem now is that Nokia 
E61's calendar application does not seem to support Unicode characters, 
which causes serious problems when syncing.

Is there a way I could force Zidestore/Sope to convert ISO-8859-1 
characters to Unicode on the fly, or is Sope supposed to do it 
automatically with libical and/or libxml2?

GroupDAV connector gives the following errors in it's storelog:

We sent:
PUT /zidestore/dav/johirv/Calendar/68.ics HTTP/1.1
Content-Type: text/calendar; charset=utf-8
If-None-Match: *
Authorization: Basic am9oaXJ2OnMxbGF3MGxrZXI=
Content-Length: 384
User-Agent: BionicMessage.net GroupDAV {0.9;Java}
Host: 172.20.1.40:80

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//BionicMessage.net GroupDAV//Funambol Connector//
BEGIN:VEVENT
UID:c4DGi73g4EDyj46ur52uf3
SUMMARY:
DTSTART:20061116T060000Z
DTEND:20061116T062800Z
X-EPOCAGENDAENTRYTYPE:APPOINTMENT
CLASS:PRIVATE
LOCATION:
SEQUENCE:0
X-METHOD:NONE
LAST-MODIFIED:20061113T142657Z
PRIORITY:2
X-SYMBIAN-LUID:68
DESCRIPTION:
END:VEVENT
END:VCALENDAR

We got:

HTTP/1.1 500 Internal Server Error
Date: Mon, 13 Nov 2006 14:23:33 GMT
Server: Apache/2.2.2 (Fedora)
content-type: text/html; charset="iso-8859-1"
content-length: 216
Connection: close

<?xml version="1.0" encoding="ISO-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<body><h3>An error occurred during object 
publishing</h3><p>appointment::new failed: missing title 
attribute</p></body>
</html>

....in 18ms

postObject

We gotHTTP/1.1 500 Internal Server Error
Date: Mon, 13 Nov 2006 14:23:33 GMT
Server: Apache/2.2.2 (Fedora)
content-type: text/html; charset="iso-8859-1"
content-length: 216
Connection: close

<?xml version="1.0" encoding="ISO-8859-1"?>
<html xmlns="http://www.w3.org/1999/xhtml">
<body><h3>An error occurred during object 
publishing</h3><p>appointment::new failed: missing title 
attribute</p></body>
</html>

net.bionicmessage.objects.ICalendarObjectStore

printDebugReport