On Wed, 2007-09-19 at 13:57 +0800, Xing wrote: > Dear list members, > I am a newcomer in the world of Python. But I am attracted by > Python's power in handling text! Now I apply it to handle Chinese but > the Chinese character cann't be displayed on the screen. What > displayed on the screen is the 16bits codes. I am so puzzled! I > believe this is an easy question to most of python users and an > important question to me. Thanks a lot to your help!
You are not giving us any background information for troubleshooting this. Your problem could be caused by a million different things, and there is not point in us guessing. Please start by answering the following questions: 1) What operating system are you using? 2) Can any programs on your computer display Chinese characters? 3) Where are you trying to display Chinese characters? Python command line, in IDLE, in some GUI window? 4) Where are the Chinese characters you're trying to display coming from? Are they hard-coded in your script, are they read from the keyboard, from a file, from a database, from a web page? -- Carsten Haese http://informixdb.sourceforge.net -- http://mail.python.org/mailman/listinfo/python-list