title: How do I update solr with a csv file that contains a semicolon separator on ubuntu?
body: <p>I tried using curl syntax:<br>
  curl http:// localhost:8983/solr/update/csv?stream.file=/usr/local/src/apache-solr-3.6.0/example/exampledocs/my+file.csv&amp;separator=;&amp;stream.contentType=text/plain;charset=utf-8<br>
  with no luck.<br>
  I get:<br>
  -bash: syntax error near unexpected token `;&amp;'  </p>
  
  <p>If I try to encoded the semicolon with %3b, it says:  </p>
  
  <p>[1] 16319<br>
  [2] 16320<br>
  -bash: stream.contentType=text/plain: No such file or directory<br>
  [2]+  Done                    separator=%3b<br>
  administrator@host:/usr/local/src/apache-solr-3.6.0/example/exampledocs$ </p>
  
  <pre><code>&lt;html&gt;  
  &lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/&gt;
  &lt;title&gt;Error 400 undefined field: "field1;field2;field3;field4"&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;&lt;h2&gt;HTTP ERROR 400&lt;/h2&gt;
  &lt;p&gt;Problem accessing /solr/update/csv. Reason:
  &lt;pre&gt;    undefined field: "field1;field2;field3;field4"&lt;/pre&gt;&lt;/p&gt;&lt;hr /&gt;&lt;i&gt;&lt;small&gt;Powered by Jetty://&lt;/small&gt;&lt;/i&gt;&lt;br/&gt;
  </code></pre>
  
  <p>As you can see the separator was not decoded and the following parameter was not parsed properly.</p>
  
  <p><strong>Can anyone help me encode the semicolon properly?<br>
  Or is there another way I could update solr with the csv file on ubuntu?</strong></p>