-
Notifications
You must be signed in to change notification settings - Fork 129
Closed
Labels
Milestone
Description
I try to load a shared calendar from a Nextcloud instance via requests.
One of the calendar entries has emojis in the description, ics throws an exception when it comes accross the first emoji:
The error:
tatsu.exceptions.FailedToken: (1:27) expecting '\r\n' :
DESCRIPTION:Hallo zusammen😊\n\nEndlich Ist es soweit....🙃😎😁\n\n
^
CRLF
contentline
start
During handling of the above exception, another exception occurred:
File "/usr/lib/python3.7/site-packages/ics/grammar/parse.py", line 78, in parse
raise ParseError()
ics.grammar.parse.ParseError
The section of the ical:
BEGIN:VEVENT
CREATED:20190422T210447
DTSTAMP:20190422T210447
LAST-MODIFIED:20190422T210447
UID:NTG0P2GYEMBOTMH04Z4OP
SUMMARY:Party bei <redacted>
CLASS:PUBLIC
DESCRIPTION:Hallo zusammen😊\n\nEndlich Ist es soweit....🙃😎😁\n\n
STATUS:CONFIRMED
DTSTART;TZID=Europe/Berlin:20190601T140000
DTEND;TZID=Europe/Berlin:20190601T235500
END:VEVENT
Reactions are currently unavailable