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
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
[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):
Hi friends,
I am writing my Japanese study program and a GUIt.
I am facing a problem in an entry widget where I enter Japanese words.
The entered Japanese word is accessed by the callback function and used
for some processes.
It is working well when I enter english values.
But giving unicodeEnco