title: Python not displaying simplified Chinese properly in dos window
body: <p>I have a python script that prints chinese output on command line. It works fine in eclipse. However, when I run it in dos window, it prints ? (question marks) and garbage characters. Could it be because of big-5 vs gb encoding? if so, how do I control it?</p>
  
  <p>btw, I already installed the Asian character sets, which is why it works in Eclipse</p>
  
  <p>edit:combining chcp, encode('utf-8'), and setting the non-unicode handler, I can now see the character, but a simple print results in a exception: </p>
  
  <pre><code>chcp 65001
  Active code page: 65001
  
  Z:\src&gt;c:\Python27\python.exe mobTest.py
  Traceback (most recent call last):
    File "mobTest.py", line 94, in &lt;module&gt;
      print u'哈哈'.encode('utf-8')
  IOError: [Errno 13] Permission denied
  </code></pre>