Philipp wrote: > I have had a quick look at fold() and just calling fold() would produce > incorrect results. fold() just insert '\n ' after 76 characters[0]. But > to correct fold a field you must insert a '\n' befor a whitespace. > > I'll try to implement a corrent fold funktion on the weekend. > > Philipp > > [0] I don't know if this is an issue in the context of ical
Good catch! Yes, RFC 5322 folding for messages and RFC 5545 folding for ical are different. Thank you. This has bothered me for a long time. David
