import codecs f = codecs.open('Big5File.txt', 'rb', 'big5', 'replace') for line in f: print line.encode('utf-8') # this works if screen is utf-8.
確定! 回上一頁