I am reading a csv file using opencsv.
I am ignoring the first line of; the csv file is tab separated with some values enclosed in double quotes.
The problem occurs when I read the values of a column that has the '\' character, this is stripped out of the value.
reader = new CSVReader(new FileReader(exchFileObj),'\t','"',1);
For example in original file:
address = 12\91buenosaires
It becomes as:
address = 1291buenosiares
In the string array that csvreader generates. How do I modify it to be able to read the '\' character also?
\` as escape character, you might need to enter
\\\` in your file. If you cannot, can you set a different escape character in open csv? – rsp