Three settings to enable Python's Eclipse development environment (using PYDEV) to support Chinese-
(a) Eclipse's Window menu Editors settings: Text editiors-&, Editors, General, Preferences, window, Eclipse toolbar Gt Spelling
(b) Eclipse's Window menu Workspace settings: general–> Workspace, Preferences, Eclipse toolbar, window
(c) the Python source terminal needs to include an additional coding instruction. The book, "Python Core Programming", page 324, says that simply adding an additional coding instruction to the head of your Python module allows the importer to parse your module using the specified encoding. If you do not have the following line of file header instructions, the following error occurs when compiling a python file that contains Chinese characters.
D:\python27\privatelib>python sample.py
File "sample.py", line 1 syntaxerror:non-ascii character ' \xff ' in file namespaces.py on line 1, but no encoding declared ; See http://www.python.org/peps/pep-0263.html for details
Coding Instructions:
#-*-Encoding:utf-8-*-
Python supports Chinese annotations