title: Python and BeautifulSoup encoding issues
body: <p>I'm writing a crawler with Python using BeautifulSoup, and everything was going swimmingly till I ran into this site:</p>
  
  <p><a href="http://www.elnorte.ec/" rel="noreferrer">http://www.elnorte.ec/</a></p>
  
  <p>I'm getting the contents with the requests library:</p>
  
  <pre><code>r = requests.get('http://www.elnorte.ec/')
  content = r.content
  </code></pre>
  
  <p>If I do a print of the content variable at that point, all the spanish special characters seem to be working fine. However, once I try to feed the content variable to BeautifulSoup it all gets messed up:</p>
  
  <pre><code>soup = BeautifulSoup(content)
  print(soup)
  ...
  &lt;a class="blogCalendarToday" href="/component/blog_calendar/?year=2011&amp;amp;month=08&amp;amp;day=27&amp;amp;modid=203" title="1009 artÃ­culos en este dÃ­a"&gt;
  ...
  </code></pre>
  
  <p>It's apparently garbling up all the spanish special characters (accents and whatnot).  I've tried doing content.decode('utf-8'), content.decode('latin-1'), also tried messing around with the fromEncoding parameter to BeautifulSoup, setting it to fromEncoding='utf-8' and fromEncoding='latin-1', but still no dice.</p>
  
  <p>Any pointers would be much appreciated.</p>