title: Scraping with Beautiful results in jibberish
body: <p>I am trying to scrape a website using BeautifulSoup4, however everything after the body tag is gibberish, and breaks the terminal. 
  The website is tagged with utf-8 so I have tried decoding and different html parsers, including html.parser and lxml.</p>
  
  <pre><code>obsObj = BeautifulSoup(html.read().decode('utf-8','ignore'), "html5lib")
  print(bsObj.prettify())
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>&lt;html&gt;
   &lt;head&gt;
   &lt;/head&gt;
      &lt;body&gt;
   }zƲu}y┴(M։ʖO┬┌;R° ─H$D◆P⎼^▒&amp;▒└⎻;\␍␍ (Q│P]]]U]]U£œ␉NG/?5˶ض&amp;±├;ӗ/D&amp;▒└⎻;·GW5Q߶/..(ڧ?ڗV*V┘┌[;≥⎻^N0T4ۓ┐'┴┘S7׏; њ#─K
  </code></pre>
  
  <p>The relevant lines in the website are :</p>
  
  <pre><code>&lt;html xmlns="http://www.w3.org/1999/xhtml" xml:lang="da" lang="da" dir="ltr" class="js"&gt;&lt;head&gt;
  &lt;meta http-equiv="Content-Type" content="text/html; charset=utf-8"&gt;
  </code></pre>