I use python 3.6.4 and , I run code below:
print ("你好")
print (u"你好")
but i get this:
However, if it run with VS code, it can print properly: 你好 你好
i google the problem, and find a lot suggestion:
- add
#-*- coding: utf-8 -*-
at the beginning - encode and then decode
chcp 65001
in console
, but no one work.
How to print chinese properly in window console ?