In Python, for Japanese, Chinese, and Korean,Python can not print the correct strings, for example hello
in Japanese, Korean and Chinese are:
こん
First you need to read the text as unicode
import codecs
f = codecs.open('test.txt','r','utf-8')
Second
When you print you should encode it like this
unicodeText.encode('utf-8')
Third
you should insure that your console support unicode display
Use
print sys.getdefaultencoding()
if it doesn't try
reload(sys)
sys.setdefaultencoding('utf-8')