title: What is unicode_literals used for?
body: <p>I get a weird problem with <code>__future__.unicode_literals</code> in Python.  Without importing <code>unicode_literals</code> I get the correct output:</p>
  
  <pre><code># encoding: utf-8
  # from __future__ import unicode_literals
  name = 'helló wörld from example'
  print name
  </code></pre>
  
  <p>But when I add the <code>unicode_literals</code> import:</p>
  
  <pre><code># encoding: utf-8
  from __future__ import unicode_literals
  name = 'helló wörld from example'
  print name
  </code></pre>
  
  <p>I got this error:</p>
  
  <pre><code>UnicodeEncodeError: 'ascii' codec can't encode character u'\xf3' in position 4: ordinal not in range(128)
  </code></pre>
  
  <p>Does <code>unicode_literals</code> encode every string as an utf-8?
  What should I do to override this error?</p>