title: UnicodeDecodeError when making pandas dataframe
body: <p>I'm trying to make pandas dataframe using my CSV file.</p>
  
  <p>Here is my code:</p>
  
  <pre><code>import requests, re, pandas, csv
  from bs4 import BeautifulSoup
  from io import StringIO
  
  base_url="http://www.hltv.org/?pageid=188&amp;statsfilter=2816&amp;offset="
  with open('cs_data1.csv', 'w', newline='') as out_file:
      for page in range(0,1200,50):
          r=requests.get(base_url+str(page))
          c=r.content
  
          table=BeautifulSoup(c,"html.parser")
          for row in table.find_all('div', style=re.compile(r'width:606px;height:22px;background-color')):
              buffer=StringIO(row.get_text(strip=True, separator=','))
              reader=csv.reader(buffer, skipinitialspace=True)        
              writer=csv.writer(out_file)
              writer.writerows(reader)
  </code></pre>
  
  <p>That code makes the CSV file and it works fine. Then I try to make pandas dataframe:</p>
  
  <pre><code>df=pandas.read_csv("cs_data1.csv")
  df
  </code></pre>
  
  <p>And there I got the error: "UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf6 in position 22: invalid start byte".</p>
  
  <p>What I should try to encode/decode so the dataframe would work?</p>