title: Sublime Text 3, Python 3 and UTF-8 don't like each other
body: <p>I am trying to parse an HTML page using a Python script I run in Sublime Text. This page contains non-ASCII characters. I kept getting <code>[Decode error - output not utf-8]</code> so I investigated a little and came down to this funny code snippet:</p>
  
  <pre><code>import codecs
  
  #print((1, codecs.decode(codecs.encode('ò', 'utf-8'), 'utf-8')))
  print('ò')
  </code></pre>
  
  <p>which prints <code>[Decode error - output not utf-8]</code>. This error does not happen if I encode an ASCII character. It is not a compile error - the program runs and completes - so I suspect this is a problem with Sublime Text processing the script output, but I can't narrow it down any further. How do I make this work?</p>