title: How to read a string containing a '\' using opencsv?
body: <p>When I'm reading a csv-file using opencsv it doesn't work properly when encountering a '\' at the end of a string. It makes the " part of the string, instead of the '\' as I want to. I guess there must be some method to add another '\' to have it escape the '\'-character instead? <em>Without</em> having to manually edit the csv-file. I have searched but not found anything.</p>
  
  <p>To clarify my problem, it looks like this:  </p>
  
  <p><strong>csv-file</strong>  </p>
  
  <pre><code>"A",       "B",        "C",       "D"
  "value 1", "value 2",  "value 3", "value 4"
  "value 5", "value 6\", "value 7", "value 8"
  </code></pre>
  
  <p>My code looks like this (not really, but it shows my problem):</p>
  
  <pre><code>String inFile = "in.csv";
  CSVReader reader = new CSVReader(new FileReader(inFile));
  String[] line;
  
  while ((line = reader.readNext()) != null) {
      for (int i = 0; i &amp;lt; line.length(); i++) {
          System.out.println(i + " " + line[i]);
      }
  }
  </code></pre>
  
  <p>I want this to parse into a String[] with 4 elements each, for each row, but the last row parses only into two elements, as shown in the output below.</p>
  
  <pre><code>1 A
  2 B
  3 C
  4 D
  1 value 1
  2 value 2
  3 value 3
  4 value 4
  1 value 5
  2 value 6",value 7,value 8
  </code></pre>
  
  <p>I have tried to change the reader to:</p>
  
  <pre><code>CSVReader reader = new CSVReader(new InputStreamReader(new FileInputStream(inFile), "UTF-8"));
  </code></pre>
  
  <p>but without any luck.</p>