E. Paine <xepain...@gmail.com> added the comment:

Sorry for the spam...

OK, making the corresponding ctypes calls to the commands reported in 
issue31244 succeeds in the Python REPL, but the Tk text's behaviour doesn't 
change. In IDLE, the ctypes calls fail.

ctypes.windll.Kernel32.SetConsoleCP(1251)
ctypes.windll.Kernel32.SetConsoleOutputCP(1251)
locale.setlocale(locale.LC_ALL, 'Russian')

Hence, I don't think this a viable option. And it would not be viable for 
either this project, nor Tk, to write our own codepages, so I'm not sure 
whether it is worth raising it with the Tk team.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue46052>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to