How to fix iCal adding .ics files screwy

by Roger Collins on May 22, 2009

in Programming

When I fix an annoying problem for myself and can’t find any articles or blog posts about it, I like to create one.  Here it is.  Every once in a while I get a calendar file (.ics) that doesn’t work.  When I try to add it to my calendar, it does something screwy like add one event that starts now and continues until the end of the last event – could be days later if it is a recurring event.

I researched a little.  Saw that the file format is just a text file so I opened it in my favorite text editor (vi). Found some Ctrl-M characters that looked like they did not belong.  Deleted those and it added to my iCal just fine!

These .ics files with the error-causing Ctrl-M characters were created by another Apple Mac so we can’t blame this one on Windows.

Hope this helps you.

Leave a Comment

Previous post:

Next post: