It's Tk's fault
Kick
store_li at sina.com
Wed Dec 19 21:46:37 EST 2001
More information about the Python-list mailing list
Wed Dec 19 21:46:37 EST 2001
- Previous message (by thread): It's Tk's fault
- Next message (by thread): It's Tk's fault
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
My string is a ordinary 'string' type according to the result of Print type(variable) "Kirill Simonov" <kirill at xyz.donetsk.ua> wrote in message news:mailman.1008782602.15314.python-list at python.org... > On Wed, Dec 19, 2001 at 12:31:20PM +0800, Kick wrote: > > I have done some experiment: > > > > Using the same code to retrieve data from database: > > > > 1. Display data using console by print clause > > 2. Display data using HTML using gb2312 encoding. > > 3. Display data using wxPython > > 4. Display data using Tk > > Is your data a unicode string or a regular string? > In other words, what does "print type(data)" show? > > > Only tk display a wrong char. I know Tk is easy to use and modify. So is > > there any one who can help me to display Chinese code correctly in Tk > > widget? > > > Kirill > >
- Previous message (by thread): It's Tk's fault
- Next message (by thread): It's Tk's fault
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list