title: Why can't Python print Unicode symbols?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/368805/python-unicodedecodeerror-am-i-misunderstanding-encode">Python UnicodeDecodeError - Am I misunderstanding encode?</a>  </p>
  </blockquote>
  
  
  
  <p>I am having trouble printing some unicode symbols in Python like this:</p>
  
  <pre><code># encoding: utf-8
  print u'ęėįųšįšū'
  </code></pre>
  
  <p>When I try to run this on my VPS Ubuntu 12 server with Python 2.7, I get an error:</p>
  
  <blockquote>
    <p>UnicodeEncodeError: 'ascii' codec can't encode characters in position 0-7: ordinal not in range(128)</p>
  </blockquote>
  
  <p>Why does it try to encode them in ASCII?</p>
  
  <p>The commands run correctly on my local machines.</p>
  
  <p>The file is correctly encoded in utf-8.</p>