消息 [92025]
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? |
|
| 日期 |
用户 |
动作 |
参数 |
| 2009-08-28 00:00:00 | vstinner | 修改 | recipients:
+ vstinner, Trundle |
| 2009-08-28 00:00:00 | vstinner | 修改 | messageid: <1251417600.68.0.212799094179.issue6745@psf.upfronthosting.co.za> |
| 2009-08-27 23:59:58 | vstinner | 链接 | issue6745 messages |
| 2009-08-27 23:59:58 | vstinner | 创建 | |
|