Creating iCal events from plain text data

I’m about to write an iCal script which will create events from data stored in a plain text file (also created with a script : ).

Does anyone know whether there’s a maximum length for an event’s textual attributes - summary et. al.?
Also, are there any forbidden characters which must be stripped out of the text?

Script will run in Tiger, but may soon change to Leopard.


I’m not aware of any limitations. There are some characters that have special significance within an .ics calendar file, but iCal takes care of all the necessary escaping, so you don’t have to think about them. Unicode-only characters are also OK as .ics data are stored as UTF-8 text.

Well, that’s good news.

Thank you, Nigel