[issue46052] Ctrl+C, C+V in IDLE on Windows do not work with Cyrillic keys

E. Paine report at bugs.python.org
Sun Dec 12 11:27:18 EST 2021


E. Paine <xepaine13 at 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 <report at bugs.python.org>
<https://bugs.python.org/issue46052>
_______________________________________


More information about the Python-bugs-list mailing list