On 6/12/07, hzqij <[EMAIL PROTECTED]> wrote: > i have a python source code test.py > > # -*- coding: UTF-8 -*-
As Marc pointed out, you should test the actual file encoding of the program to check that it is, in fact, UTF-8 encoded. If you're on a Unix/Linux system you should be able to test for a UTF-8 encoded file using the "file" command, e.g. [EMAIL PROTECTED] ~ $ file ~/uni.py /home/evan/uni.py: UTF-8 Unicode text -- Evan Klitzke <[EMAIL PROTECTED]> -- http://mail.python.org/mailman/listinfo/python-list