Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multi-line notes concatenate into one line in CSV export #26

Open
jmsgwd opened this issue Jan 5, 2020 · 0 comments
Open

Multi-line notes concatenate into one line in CSV export #26

jmsgwd opened this issue Jan 5, 2020 · 0 comments

Comments

@jmsgwd
Copy link

jmsgwd commented Jan 5, 2020

The CSV export concatenates multi-line notes fields into one line by replacing CR (13) and LF (10) characters with a comma. This makes the notes fields unreadable in the CSV export.

Furthermore, you cannot undo the damage using search and replace, because commas appear frequently in normal text.

The CSV format is capable of handling multi-line values. They just need to be enclosed in double quotes as I understand. Furthermore, Excel will import them successfully, and display them as a multi-line cell. This is the desired behaviour, in my view.

Years ago, there was a Things 2 export AppleScript floating around, which isn't really usable now for several reasons - but one thing it did get right is that it preserved multi-line notes in CSV correctly. And these were handled by Excel without issue - each multi-line notes field appeared in a single cell in Excel containing the notes text with line breaks.

In my opinion, the CSV export should follow the principle of least surprise. It should preserve users' data wherever possible, without mangling or corrupting it. That includes preserving line breaks in the notes fields.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant