I tried this using excel 2016
I opened Excel - Select File,open selected the "CSV" file and selected delimited, Semicolon as the separator and " as the text delimiter.
This was then imported as expected and I could edit the cell and delete the L as per you original question
Clicking SAVE does corrupt the file as you found and explained in other answers.
However select SAVE AS and selected UNICODE as per one of the comments - the file was saved UTF-8 as a TAB separated file with " as the text delimeter. Have you tried this? Is this not acceptable?
If I selected SAVEAS and selected UTF-8 Comma Separated then it was saved UTF-8 comma separated - I could not see a method of retaining the Semicolon as separator. You should however go through the SAVE AS options and see if one of the formats available in your version of Excel is acceptable.
If it is necessary to retain the semicolon then you could post process the saved file a text replacement script that understood quoting (so that , inside the quotes don't get replaced) A VBScript or Powershell script could be written to do this, alternately a VBA macro to concatenate all the cells into one cell with commas separating them could be used.
A single line Powershell dependent command to to that final conversion would be (Run from CMD prompt)
powershell -command "& import-csv 'CSVUTF.CSV'| export-csv 'PSCSVUTF.CSV' -Encoding 'UTF8' -Delimiter ';' -notype"
If your file does not have a header line with column names then a -header parameter will need to be provided and the output file will end up with an header line
I don't know a good solution for that. Save it as an Excel file (.xls*), not as .csv – Máté Juhász – 2017-05-17T12:52:35.183
I tried already, but that didn't help. – NJMR – 2017-05-18T04:57:11.173
Can you post a small example file? – harrymc – 2017-05-22T08:19:45.660
Sorry, security issues. You can save the above text using a notepad and extension as .csv and try opening it in excel. – NJMR – 2017-05-22T09:12:24.150
As you already know the quote
– Hastur – 2017-05-24T12:06:38.767"
inside a string are escaped doubling them (Common Format and MIME Type for Comma-Separated Values (CSV) Files). Try to see if you can "import/export" the.csv
file somehow forcing that the cells have not to be quoted (or have to be quoted). (It should exists some checkbox similar to "Quote all text cells"). You should be even able to force the file to be imported as a text file... and exported with the same rules;
...