Python 3.5.2 Non-Ascii Character Output
<p>I'm running Python 3.5.2 and am trying to do some basic stuff with unicode and UTF-8. I'm currently just trying to output non-ASCII characters and am unable to do so. For example, this:</p>

<pre><code>ddd = '\u0144'
print(ddd)
</code></pre>

<p>gives me a Unicode encode error, telling me that the character maps to undefined. From what I understand of unicode in Python 3.5.2, mapping should happen automatically. I tried putting <code># -*- coding: utf-8 -*-</code> before the code and various combinations of <code>.decode</code> and <code>.encode</code> as well, but to no avail.</p>

<p>PM 2Ring, typing in <code>chcp 65001</code> in command prompt did the trick. Thanks!</p>

python unicode utf-8 character-encoding non-ascii-characters