Synthesis AG - SyncML Discussion Forum

Synthesis AG - SyncML Discussion Forum (http://forum.synthesis.ch/index.php)
-   SyncML Clients for classic PDAs (WindowsMobile, PalmOS) (http://forum.synthesis.ch/forumdisplay.php?f=2)
-   -   Folded lines in vcalendar object (http://forum.synthesis.ch/showthread.php?t=1976)

rip 2009-12-21 17:34

Folded lines in vcalendar object
 
When you enter an appointment into the iPhone that has a subject longer than 60-70 characters, the subject line is "folded" in the vcalendar object that is transmitted to the SyncML server. However the line is not folded correctly according to the iCalendar spec RFC2445 section 4.1. According to the spec, when the line is folded, the CR,LF and whitespace characters are supposed to be inserted. However, synthesis is only inserting CR,LF. Therefore when the line is un-folded at the server, one whitespace is lost. For example:

SUMMARY:This is a long line that should be folded properly according
to the specification.

Is supposed to be transmitted with 2 whitespaces at the beginning of the line (one that is part of the folding, and one that is the original separator between the words), like this example:

SUMMARY:This is a long line that should be folded properly according
to the specification.

When the synthesis client formats the text using quoted printable, folding is done correctly. Perhaps the best solution would be for the synthesis client to always use quoted printable whenever the line length is longer than 60 chars.


All times are GMT +2. The time now is 14:29.

Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.