In Python, for Japanese, Chinese, and Korean,Python can not print the correct strings, for example hello in Japanese, Korean and Chinese are:
hello
こん
Try this:
import codecs fp = codecs.open('test.txt', encoding='utf-8') for line in fp: print line