From mboxrd@z Thu Jan 1 00:00:00 1970 From: Adam Spiers Subject: .ics export violates RFC2445 Date: Wed, 7 Nov 2007 20:56:21 +0000 Message-ID: <20071107205621.GT13544@atlantic.linksys.moosehall> Reply-To: Adam Spiers Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Iprwu-0003lB-EQ for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 15:56:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Iprws-0003is-F0 for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 15:56:31 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Iprws-0003ia-9R for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 15:56:30 -0500 Received: from mail.beimborn.com ([70.84.38.100]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Iprwp-0005l2-Tl for emacs-orgmode@gnu.org; Wed, 07 Nov 2007 15:56:30 -0500 Received: from mail.beimborn.com (localhost.localdomain [127.0.0.1]) by mail.beimborn.com (8.12.11.20060308/8.12.8) with ESMTP id lA7KuOFt026007 for ; Wed, 7 Nov 2007 14:56:24 -0600 Received: from localhost (localhost [[UNIX: localhost]]) by mail.beimborn.com (8.12.11.20060308/8.12.11/Submit) id lA7KuOHM026002 for emacs-orgmode@gnu.org; Wed, 7 Nov 2007 20:56:24 GMT Content-Disposition: inline List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: org-mode mailing list I use org-export-icalendar-combine-agenda-files to export my appointments to an .ics file which I point korganizer at. I noticed ages ago that if I have an appointment with a comma in, e.g.: ** <2007-12-07 Fri 20:00> foo, bar korganizer always shows it as "bar" rather than "foo, bar". But I never got round to investigating whether it was a bug with the export or korganizer or something else ... until now :-) I just took a quick look at the iCalendar spec, which is RFC2445, and discovered that the SUMMARY field is defined as follows summary = "SUMMARY" summparam ":" text CRLF -- from http://tools.ietf.org/html/rfc2445#section-4.8.1.12 And the definition of 'text' in this context explicitly states that several characters, including commas, need to be escaped with a backslash: http://tools.ietf.org/html/rfc2445#section-4.3.11 Sure enough, when I edited the .ics file and manually escaped the comma, korganizer displayed the summary correctly.