[issue22408] Tkinter doesn't handle Unicode key events on Windows

Drekin report at bugs.python.org
Mon Sep 15 10:43:29 CEST 2014


Drekin added the comment:

It seems that it's a problem of dead key combinations rather than modifiers. Unicode characters produced directly (with or without modifiers) work correctly.

Only one deadkey on my keyboard doesn't work at all. AltGr + M is a deadkey, but any following key is interpreted as if no deadkey was pressed.

On the other hand, other deadkeys including those with modifiers produces the combined characters, however usually returns just "?" as if someone applied char = char.encode("mbcs", errors="replace").decode(). E.g. whole Greek alphabet is transformed to question marks but beta is transformed to sharp s and mu to micro sign.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22408>
_______________________________________


More information about the Python-bugs-list mailing list