ICalendar .ics files sometimes not readable by Apple iCal - Sunbird
From MozillaZine Knowledge Base
Jump to navigationJump to search
Issue: Apple iCal will not read in some iCalendar (rfc2445) .ics files published by Sunbird or Calendar Extension.
Versions:
- Sunbird 0.2.
- Calendar Extension 0.2(0.8.3) extending any base application.
Background: The problem is known to happen when there are long descriptions, which are wrapped to 75 characters in the iCalendar (.ics) file using LF instead of CRLF line ends. See Bug 283881. (Fixed as of 2006-1-20.)
Workarounds: Instead, use one of the workarounds below:
Workaround 1: Use only empty or short descriptions, less than 75 characters, so no descriptions are wrapped.
Workaround 2: Use Export, which post-processes line ends to work around the problem:
- Deselect other calendars in the "Calendars" tab.
- View "All Events" in the event list filter (drop down field), and clear the "contains" search field if necessary.
- Select all events: Click in event list to focus on it. Type control-a (or click "Edit -> Select All"). Background behind selected events will be highlighted.
- Click "File -> Export Selected Events...".
- Choose a local filename.
- Format: Use "Save as type" of "Calendar Files" (iCalendar: filename.ics), not "vCalendar Files" (vCalendar: filename.vcs).
- Click "Save".
- Publish the file to your server using other means, such as manual ftp.