Re: UNew to Tkinter nicodeEncodeError:Japanese

2005-12-22 Thread rajasekaran . natarajan
Thanks a lot for your reply Mr.Lundh Yeah you are correct, Tkinter is automatically converting the words to unicode, so there is no need to decode again, also there is no need to encode in the print statement so, your assumption is correct but the encode statement at print gave me wrong kanjis [J

Re: UNew to Tkinter nicodeEncodeError:Japanese

2005-12-22 Thread rajasekaran . natarajan
Thanks a lot for your reply Mr.Lundh Yeah you are correct, Tkinter is automatically converting the words to unicode, so there is no need to decode again, also there is no need to encode in the print statement so, your assumption is correct but the encode statement at print gave me wrong kanjis [J

Re: UNew to Tkinter nicodeEncodeError:Japanese

2005-12-22 Thread Fredrik Lundh
[EMAIL PROTECTED] wrote: > It is working well when I enter english values. > But giving unicodeEncodeError when I try with the Japanese letter. > > I tried to decode it by but I am getting unicodeEncodeError. chances are that Tkinter has already decoded the string for you. >def search(self):