Where is the method : "sys.setdefault encoding(name)" ?
Problem :
I want change the default encoding because I want put french letter :
éÉàÀ...etc in widget with no problem! When I use the method ".get" from a
widget (Text, Entry), the string returned is "fucked"...
In the Entry widget, the text is (with .insert) "été"
When I add a "é" at end (with my keyboard), th result is "étéé" OR a
raised error!
I find, on net, that I must use "sys.setdefault encoding(name)" .
I find find this methode in the doc (official) but the
"setdefaultenco ding" name method is not in the sys module!?! (when I print
"dir(sys)"? ! :-(
Askari
Problem :
I want change the default encoding because I want put french letter :
éÉàÀ...etc in widget with no problem! When I use the method ".get" from a
widget (Text, Entry), the string returned is "fucked"...
In the Entry widget, the text is (with .insert) "été"
When I add a "é" at end (with my keyboard), th result is "étéé" OR a
raised error!
I find, on net, that I must use "sys.setdefault encoding(name)" .
I find find this methode in the doc (official) but the
"setdefaultenco ding" name method is not in the sys module!?! (when I print
"dir(sys)"? ! :-(
Askari
Comment