[issue22837] getpass returns garbage when typing tilde on Windows with deadkeys

2014-11-10 Thread Florian Bruhin
New submission from Florian Bruhin: When using getpass.getpass() on Windows and typing a tilde (~) with a layout with dead keys (e.g. Swiss German), one would typically type ~ to get a single tilde. However, this returns '\x00\x83~' with getpass. It seems this is what msvcrt.getch()

[issue22837] getpass returns garbage when typing tilde on Windows with deadkeys

2014-11-10 Thread Florian Bruhin
Changes by Florian Bruhin python@the-compiler.org: -- nosy: +christian.heimes ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22837 ___ ___

[issue22837] getpass returns garbage when typing tilde on Windows with deadkeys

2014-11-10 Thread Florian Bruhin
Florian Bruhin added the comment: Maybe this is related: U+0083 is the no break here char: http://www.fileformat.info/info/unicode/char/0083/index.htm http://en.wikipedia.org/wiki/C0_and_C1_control_codes#C1_set From wikipedia: Follows the graphic character that is not to be broken. --