Message140379
| Author |
vstinner |
| Recipients |
Nicholas.Cole, akuchling, cben, gpolo, inigoserna, python-dev, r.david.murray, schodet, vstinner, zeha |
| Date |
2011年07月14日.23:09:33 |
| SpamBayes Score |
4.8122587e-07 |
| Marked as misclassified |
No |
| Message-id |
<1310684974.36.0.637442375404.issue12567@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
getkey.patch fixes window.getkey(): use get_wch() instead of getch() to handle correctly non-ASCII characters. I tested with the key é (U+00E9) with ISO-8859-1 and UTF-8 locale encoding: getkey() gives the expected result (but addstr is unable to display it, because addstr encodes the string to UTF-8 instead of the locale encoding). |
|