title: UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 2483: character maps to <undefined>
body: <p>I am parsing a csv file and i am getting the below error</p>
  <pre><code>import os
  import csv
  from collections import defaultdict
  demo_data = defaultdict(list)
  
  if os.path.exists(&quot;infoed_daily _file.csv&quot;):
      f = open(&quot;infoed_daily _file.csv&quot;, &quot;rt&quot;)
      csv_reader = csv.DictReader(f)
      line_no = 0
      for line in csv_reader:
      line_no +=1
      print(line,line_no)
  
  UnicodeDecodeError: 'charmap' codec can't decode byte 0x81 in position 2483: character maps to 
  &lt;undefined&gt;
  </code></pre>
  <p>Please advise.</p>
  <p>Thanks..
  -Prasanna.K</p>