Hopefully if anyone else has this problem, they’ll find this post. If you’re attempting to output some data in a MySQL database as a VCALENDAR file that is viewable in Apple Calendar or Outlook or whatever, an incorrect newline character in any field can make that event not show up (or make the entire file invalid in some applications).
What you’re looking for is an escaped newline character. Newlines are stored in MySQL as \n
. You want to escape that character in your ics file, so replace \n
with \\n
. While you’re at it, it’s a good idea to replace ;
with \;
and ,
with \,
. There may also be others, but those are the ones I’ve found so far.