There is a thread that somewhat similar to the below, titled "Import csv problem" (april 2018).
For a lllong time already I am facing the below problem and actually I found a workaround for it.
The workaround requires a bit of knowledge of regular expressions though and I believe this shouldn't be a requirement for a proper export.
When exporting Calendar events, I have noticed that, in a number of cases .., the csv includes CRLF (Carriage Return/Line Feeds) at the very end of the description in the 'Description box'.
There is no linefeed there. When enabling 'Show paragraph marks and other hidden formatting symbols" the texts look similar to those that do not have this carriage return\line feed. Also, when being in the description box, at the end of the text, I can not move the cursor to the next line, i.e. the last character of the text description actually -is- the last character. In all cases, the text is plain text and I do not see any way to have influence on the output.
Anyway, my workaround:
- export to .csv
- rename file to .txt
- open the file with a 'more advanced' text-editor that supports regular expressions (personally I use EditPadPro)
- perform a regex find: (\r?\n\r?\n?\s?)((\"\,\")|[A-Za-z0-9(])
- replace with: $2
This should basically remove those weird CRLF's
All lines of the .csv export should end up with "Normal","2" or "Normal","3"
To check this
Again perform a regex find: ^.+$(?<!"\d")
If above find and replace were okay, then the cursor should be at the top of text file, i.e. the CRLF's have been removed.
Yes, I know, this is a peculiar way of solving the issue.
I spent a lot of time trying to figure out what might cause this strange error but gave up. Using this workaround is just a few clicks: the find and replace actions are 'saved' actions.
Just my 2cents
For a lllong time already I am facing the below problem and actually I found a workaround for it.
The workaround requires a bit of knowledge of regular expressions though and I believe this shouldn't be a requirement for a proper export.
When exporting Calendar events, I have noticed that, in a number of cases .., the csv includes CRLF (Carriage Return/Line Feeds) at the very end of the description in the 'Description box'.
There is no linefeed there. When enabling 'Show paragraph marks and other hidden formatting symbols" the texts look similar to those that do not have this carriage return\line feed. Also, when being in the description box, at the end of the text, I can not move the cursor to the next line, i.e. the last character of the text description actually -is- the last character. In all cases, the text is plain text and I do not see any way to have influence on the output.
Anyway, my workaround:
- export to .csv
- rename file to .txt
- open the file with a 'more advanced' text-editor that supports regular expressions (personally I use EditPadPro)
- perform a regex find: (\r?\n\r?\n?\s?)((\"\,\")|[A-Za-z0-9(])
- replace with: $2
This should basically remove those weird CRLF's
All lines of the .csv export should end up with "Normal","2" or "Normal","3"
To check this
Again perform a regex find: ^.+$(?<!"\d")
If above find and replace were okay, then the cursor should be at the top of text file, i.e. the CRLF's have been removed.
Yes, I know, this is a peculiar way of solving the issue.
I spent a lot of time trying to figure out what might cause this strange error but gave up. Using this workaround is just a few clicks: the find and replace actions are 'saved' actions.
Just my 2cents