How can display chinese char in Python/Tkinter?

Kick store_li at sina.com
Tue Dec 18 05:03:17 EST 2001


I have retrieved data from excel and MSSql server,then display it using
Tkinter label and text widget.

All the char I retrieved from excel were treated as Unicode and display
well, while the data I retrieved from MSSql aren't so lucky. they can only
be displayed as half char. I use gb2312 as my mssql's code page and I got
correct display in console.

How can I display data from MSsql correct?

Please help me!!





More information about the Python-list mailing list