I have Python 2.7.1 on a Simplified-Chinese version of Windows XP, and I have a program like this(windows_prn_utf8.py):
#!/usr/bin/env python # -*- coding: u
Use codecs.open(filename,encoding) instead of open(filename) and write file with python.