title: Django read a csv file in unix which is created in mac/windows system
body: <p>I am trying to read a CSV file in django. Sample file is located <a href="https://raw.githubusercontent.com/juhstin/Glacier-Grotto/master/DB/data/MemberList.csv" rel="nofollow">here.</a> </p>
  
  <pre><code>if request.POST:
      try:
          fl = request.FILES['csv']
          reader = csv.DictReader(fl, "rU")
          all_keys = reader.fieldnames
          reader.next()
        // if this does not work then provide dialect as well. 
      except Exception as e:
          try:
              reader = csv.DictReader(fl, "rU", dialect=csv.excel)
              all_keys = reader.fieldnames
              reader.next()
          except Exception as e:
              return render(request, "error.html", {"errr":str(e.message)})
  </code></pre>
  
  <p>Both the times, I get the following error - </p>
  
  <pre><code>Error: 'new-line character seen in unquoted field - do you need to open the file in universal-newline mode?'
  </code></pre>
  
  <p>Files generated in unix systems work well. </p>
  
  <p>Any clue how to fix it?</p>