Message92025
| Author |
vstinner |
| Recipients |
Trundle, vstinner |
| Date |
2009年08月27日.23:59:56 |
| SpamBayes Score |
3.2418207e-08 |
| Marked as misclassified |
No |
| Message-id |
<1251417600.68.0.212799094179.issue6745@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
Here is a first patch to add a method setcharset() to the window class.
Using my patch, you can fix your example by adding the line:
screen.setcharset(<your charset>)
before addstr().
It's an initial hack to fix the issue. Next steps are:
- use something better than utf8 as the default charset, maybe
locale.getpreferredencoding()
- copy the charset on new window creation? |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年08月28日 00:00:00 | vstinner | set | recipients:
+ vstinner, Trundle |
| 2009年08月28日 00:00:00 | vstinner | set | messageid: <1251417600.68.0.212799094179.issue6745@psf.upfronthosting.co.za> |
| 2009年08月27日 23:59:58 | vstinner | link | issue6745 messages |
| 2009年08月27日 23:59:58 | vstinner | create |
|