Penny Y. wrote: > I saw some scripts have a line at its begin: > > # encoding:gb2312 > > what's this? Why need it? thanks. >
My guess is that it is the automatic work of some sort of editor that does not understand how encodings work. See what happens if the file was utf-16le encoded, for example. I think you can safely remove it. -- http://mail.python.org/mailman/listinfo/python-list