ical2json icon indicating copy to clipboard operation
ical2json copied to clipboard

final end-of-line is missing, and ics lines end in LF instead of CRLF

Open sonicbluesky opened this issue 1 month ago • 0 comments

after installing and using:

npm install -g ical2json
ical2json file.ics

the output file.json is missing the final end-of-line, which i work around by running dos2unix -e file.json.

upon "reverting" (converting from json to ical), done like so:

ical2json -r file.json

the output file.ics is missing the final end-of-line, AND is terminating lines using LF, which is incorrect. the ical spec is to use CRLF to terminate lines. i work around both of these issues in the file.ics output by running unix2dos -e file.ics.

sonicbluesky avatar Jan 12 '25 06:01 sonicbluesky