title: Text from website appears as Gibberish instead of Hebrew
body: <p>I'm trying to get a string from a website. I use the <a href="http://docs.python-requests.org/en/latest/" rel="nofollow">requests</a> module to send the <code>GET</code> request.</p>
  
  <pre><code>text = requests.get("http://example.com") #send GET requests to the website
  print text.text #print the variable
  </code></pre>
  
  <p>However, for some reason, the text appears in Gibberish instead of Hebrew:</p>
  
  <pre><code>&lt;div&gt;
  &lt;p&gt;×©×¨×ª&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Tough when I sniff the traffic with Fiddler or view the website in my browser, I see it in Hebrew:</p>
  
  <pre><code>&lt;div&gt;
  &lt;p&gt;שרת&lt;/p&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>By the way, the <code>html</code> code contains meta-tag that defines the encoding, which is <code>utf-8</code>.
  I tried to encode the text to <code>utf-8</code> but it still in gibberish. I tried to deocde it using <code>utf-8</code>, but it throws <code>UnicodeEncodeError</code> exception.
  I declared that I'm using <code>utf-8</code> in the first line of the script.
  Moreover, the problem is also happend when I send the request with the built in <code>urllib</code> module.</p>
  
  <p>I read the <a href="https://docs.python.org/2/howto/unicode.html" rel="nofollow">Unicode HOWTO</a>, but still couldn't manage to fix it. I also read many threads here (both about the <code>UnicodeEncodeError</code> exception and about why hebrew turns into gibberish in Python) but I still couldn't manage to fix it up.</p>
  
  <p>I'm using Python 2.7.9 on a Windows machine. I'm running my script in the Python IDLE.</p>
  
  <p>Thanks in advance.</p>