title: Why does Python output a string and a unicode of the same value differently?
body: <p>I'm using Python 2.6.5 and when I run the following in the Python shell, I get:</p>
  
  <pre><code>&gt;&gt;&gt; print u'Andr\xc3\xa9'
  AndrÃ©
  &gt;&gt;&gt; print 'Andr\xc3\xa9'
  André
  &gt;&gt;&gt;
  </code></pre>
  
  <p>What's the explanation for the above?  Given u'Andr\xc3\xa9', how can I display the above value properly in an html page so that it shows André instead of AndrÃ©?</p>