Hi Gaurav,

--On April 11, 2016 at 11:52:42 AM -0700 Gaurav Jain <monkeyfd...@gmail.com> wrote:

I may have comma in my Event Summary.

For eg. I can have a summary like


* "I , am , coming, tomo"*

On receving side, I get back is


* "I \, am \, coming\, tomo"*

What need to be do to get

* "I , am , coming, tomo" *on readers client.

iCalendar data uses backslash encoding of certain characters as defined in the specification: <https://tools.ietf.org/html/rfc5545#section-3.3.11>.

You should use a proper iCalendar library to generate and parse any iCalendar data - the library will take care of doing the proper backslash encode/decode for you.

If you send data to the server that does not have the right syntax, the server may reject it or attempt to fix it (e.g. by adding back slashes) depending on how severe the issue is. Thus you should always use a proper iCalendar library when interacting with the server.

--
Cyrus Daboo

_______________________________________________
calendarserver-users mailing list
calendarserver-users@lists.macosforge.org
https://lists.macosforge.org/mailman/listinfo/calendarserver-users

Reply via email to