title: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte
body: <p>Hello I´m webscraping a bookmaker to get the names of teams which are playing as next (I wanna scrape the names of germany bundesliga). I wanna save the strings of the names in a csv file but im getting an error. The content of the .csv file when I open it is: </p>
  
  <p>70,111,114,116,117,110,97,32,68,195,188,115,115,101,108,100,111,114,102</p>
  
  <p>it´s the ascii code for "Fortuna Düsseldorf"</p>
  
  <p>I´ve tried it wihtout encode("utf-8") in line 27 and several other things but still getting the error. Line 18 isn´t the problem since the program wrote the first name of the team in the .csv file. I won´t paste the second loop for the second teamnames since it´s the same code but for the second teams in the html.</p>
  
  <pre><code>import requests
  from bs4 import BeautifulSoup
  import pandas
  import os
  import csv
  
  class NamenCollector:
  
  
      def NamenHolen(self, url, pfad):
          bool1 = False
          bool2 = False
          self.page = requests.get(url)
          self.soup = BeautifulSoup(self.page.content, 'lxml')
          Namen1 = self.soup.find_all('div', class_='live_group1')
          Namen2 = self.soup.find_all('div', class_='live_group2')
          if os.stat(pfad).st_size == 0:
              nam = self.soup.find('div', class_='live_group1').string.strip().encode("utf-8")
              with open(pfad, 'a') as csvFile:
                  writer = csv.writer(csvFile)
                  writer.writerow(nam)
                  csvFile.close()
  
          if os.stat(pfad).st_size != 0:
              a1 = pandas.read_csv(pfad)
              for name1 in Namen2:
                  nam1 = name1.find('div', class_='live_group1').string.strip().encode("utf-8")
                  for name1_1 in a1:
                      if nam1 == name1_1:
                          bool1 = True
                  if bool1 == False:
                      with open(pfad, 'a') as csvFile:
                          writer = csv.writer(csvFile)
                          writer.writerow(nam1)
                          csvFile.close()
                          bool1 = False
  bun_url = 
  'https://www.cashpoint.de/de/bets/bets.html?group=683883sportid=1&amp;filter='
  
  bun_pfad = 'C:\Man\Deutschland\Bundesliga.csv'
  
  d_Bundesliga = NamenCollector()
  
  d_Bundesliga.NamenHolen(bun_url, bun_pfad)   
  </code></pre>
  
  <p>The error is:</p>
  
  <pre><code>UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 0: invalid start byte
  </code></pre>