You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to import a .ics file. The SUMMARY and DESCRIPTION fields contain commas. The event is imported successfully, but SUMMARY and DESCRIPTION are only parsed until the first comma.
As you can see, the "Event" is only "Zürich" but really should be "Zürich, Kalkbreite -> Trimmis, Churweg", and Description is only "Reise: Zürich" without the following stuff.
This is due to how vobject parses the file and not gcalcli itself. vobject uses a very strict interpretation of the iCalendar standard. The standardsays a comma in a TEXT value (such as DESCRIPTION or SUMMARY) must be escaped since the comma has special meaning in the iCalendar format. Some libraries, such as icalendar, treat commas in single value fields as just a normal comma since the field can not or should not contain multiple values. This is not, to my understanding, inline with standard, but more of a way of accommodating (somewhat) common implementations of the standard.
A number of services send ICS files that are "broken" in this respect. WebEx is my personal pain point.
That said. I am working on a branch that uses icalendar instead of vobject.
Note: Edited to include a lot more information and links in case someone thinks I'm up the wrong tree
I'm trying to import a .ics file. The SUMMARY and DESCRIPTION fields contain commas. The event is imported successfully, but SUMMARY and DESCRIPTION are only parsed until the first comma.
This is my .ics file I try to import:
And then the output from gcalcli:
As you can see, the "Event" is only "Zürich" but really should be "Zürich, Kalkbreite -> Trimmis, Churweg", and Description is only "Reise: Zürich" without the following stuff.
I'm using gcalcli master, rev 8262bf9.
Regards
Benedikt
The text was updated successfully, but these errors were encountered: