I am using OpenCSV.
I have a CSVReader
trying to parse a CSV file.
That file has quote char \"
and separator char ,
an
It will work if you go with the default settings for CsvReader.
Check this open bug they have: sourceforge.net/p/opencsv/bugs/83:
Actually, it works fine, just not the way you think. Its defaults are comma for separator, quote for the quote character, and backslash for the escape character. However, it understands two consecutive quote characters as an escaped quote character. So, if you just go with the defaults, it will work fine.
By default, it is able to escape double quote with double quote, but your 'true' escape character must still be something else.
So the following works:
CSVReader reader = new CSVReader(new FileReader(App.class.getClassLoader().getResource("csv.csv").getFile()), ',','"','-');
At first I put '\' as escape character, but then, your field "\" would need to be modified to escape the escape character.