title: Python encoding text from RSS using feedparser
body: <p>I'm trying to parse data from a RSS feed using feedparser module.</p>
  
  <pre><code>import feedparser
  
  def main():
      try:
          rss = feedparser.parse('http://s.stooq.pl/rss/n.rss')
          print(rss.entries[0].title)
  
      except Exception as e:
          print(str(e))
  main()
  </code></pre>
  
  <p>which gives me following output:</p>
  
  <p><em>'ascii' codec can't encode character '\xf3' in position 55: ordinal not in range(128)</em></p>
  
  <p>I tried to change the encoding to UTF-8, however it results in this:</p>
  
  <p><strong>b'Zostaniemy obs\xc5\x82u\xc5\xbceni w ka\xc5\xbcdym urz\xc4\x99dzie skarbowym'</strong>
  so this seems to be bytes literal.</p>
  
  <p>What should I do with this string to display it properly ?</p>