EAS-4-TbSync icon indicating copy to clipboard operation
EAS-4-TbSync copied to clipboard

Line feeds from Outlook break Thunderbird .ics export

Open UweGrensing opened this issue 10 months ago • 1 comments

Your environment

TbSync version: 4.8 EAS-4-TbSync version: 4.8 Thunderbird version: 115.10.1

Expected behavior

In Thunderbird calendar events, line feeds (e.g. in descriptions) should be \n only, so .ics-Export works correctly as for internally generated events.

Actual behavior

Line feeds from Outlook are taken over as \r\n, so .ics-Export treats \n correctly but ignores \r which leads to broken folding and invalid .ics-Files. Events created from thunderbird as .ics files are never supposed to contain \r, so EAS-4-TbSync should actually filter them out before passing strings to thunderbird.

Steps to reproduce

Create an event in Outlook containing one or multiple line feeds in the description. Sync to thunderbird, copy the event into the clipboard and paste into text editor. The result will be an incorrectly formatted .ics-File where the \n from the line feed will be in column 0 instead of column 3. (e.g. DESCRIPTION: \n \nTest Event with linefeed

instead of correct: DESCRIPTION: \n\nTest Event with linefeed )

To help resolving your issue, enable debug logging (TbSync Account Manager -> Help) and send me the debug.log via e-mail (use the title of your issue as subject of the email).

UweGrensing avatar Apr 22 '24 22:04 UweGrensing