title: Cannot parse a CSV file - "CSV::MalformedCSVError: Unquoted fields do not allow \r or \n"
body: <p>I am trying to parse uploaded CSV files. Here's the full error message:</p>
  
  <pre><code>[Worker(host:PC.local pid:69594)] Job ImportJob (id=4) FAILED (3 prior attempts) with CSV::MalformedCSVError: Unquoted fields do not allow \r or \n (line 1).
  </code></pre>
  
  <p>And the CSV files looks like this:</p>
  
  <pre><code>A1;A2;A3;A4;A5
  B1;B2;B3;B4;B5
  C1;C2;C3;C4;C5
  </code></pre>
  
  <p>And this is how I loop through the data in the CSV file:</p>
  
  <pre><code>data = SmarterCSV.process(
    file,
    {
      :col_sep =&gt; ';',
      :chunk_size =&gt; 100,
      :remove_empty_values =&gt; false,
      :remove_empty_hashes =&gt; false
    }
  ) do |d|
  </code></pre>
  
  <p>What's the problem here? I've tried to put the headline to the file, even tried to remove it (the version posted above), but in both cases I get the same error. How do I get rid of it?</p>