title: UTF-8 (in literal) to hebrew
body: <p>i'm trying to web scrape a site that has hebrew in it using BeautifulSoup python. the html comes out fine but the content in the tags comes out like so:</p>
  
  <pre><code>&lt;span class="color_11"&gt;\xc2\xa0\xd7\x91\xd7\x97\xd7\xa9\xd7\x91\xd7\x95\xd7\xa0\xd7\x95\xd7\xaa \xd7\x9c\xd7\xa7\xd7\x95\xd7\x97 \xd7\x92\xd7\x93\xd7\x95\xd7\x9c\xd7\x99\xd7\x9d I\xc2\xa0\xd7\xa4\xd7\x99\xd7\xaa\xd7\x95\xd7\x97 \xd7\x9e\xd7\x9b\xd7\x99\xd7\xa8\xd7\x95\xd7\xaa \xc2\xa0\xd7\x90\xd7\x99\xd7\xa9\xd7\x99 \xd7\x95\xd7\xa7\xd7\x91\xd7\x95\xd7\xa6\xd7\xaa\xd7\x99 \xd7\x91\xd7\x9e\xd7\x92\xd7\xa8\xd7\xa9 \xd7\x94\xd7\x91\xd7\x99\xd7\xa6\xd7\x95\xd7\xa2\xd7\x99\xd7\x9d&lt;/span&gt;
  </code></pre>
  
  <p>according to this table i found: <a href="https://utf8-chartable.de/unicode-utf8-table.pl?start=1408&amp;number=128&amp;utf8=string-literal" rel="nofollow noreferrer">https://utf8-chartable.de/unicode-utf8-table.pl?start=1408&amp;number=128&amp;utf8=string-literal</a></p>
  
  <p>this is UTF-8 (in literal). how do i turn it into it's coresponding hebrew character?</p>
  
  <p>added the code i ran:</p>
  
  <pre><code>from bs4 import BeautifulSoup as soup
  from urllib.request import urlopen
  
  my_url = "Website_url"
  
  uclient = urlopen(my_url)
  page_html = uclient.read()
  uclient.close()
  
  page_soup = soup(page_html,"html.parser")
  
  with open("source.txt","w") as file:
      a = str(page_soup.p.encode())
      file.write(a)
  </code></pre>