This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients barry, brett.cannon, ezio.melotti, serhiy.storchaka, vstinner
Date 2012-11-17.22:40:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> The issue obviously in PyUnicode_FromString() call from PyCursesWindow_GetKey().
> We can try latin1 encoding, locale encoding or utf-8 with surrogateescape error handler.

PyUnicode_FromString() uses the UTF-8 decoder. I don't think that curses uses any non-ASCII name for a key. If we get a name which is not decodable from UTF-8, I bet that we have a more serious issue than the encoding. I prefer not to change the encoding for getkey (UTF-8 is just fine).

It looks like nobody saw this issue since months, even after the final release of Python 3.3. I'm closing this issue. It doesn't contain any useful information, it would be easy to reopen it or open a new issue.
Date User Action Args
2012-11-17 22:40:13vstinnersetrecipients: + vstinner, barry, brett.cannon, ezio.melotti, serhiy.storchaka
2012-11-17 22:40:13vstinnersetmessageid: <>
2012-11-17 22:40:13vstinnerlinkissue13572 messages
2012-11-17 22:40:13vstinnercreate