消息 [135268]
let s='\xff\n'
The expected result of s.decode('gb2312', 'ignore') is u"\n", while in 2.6.6 it is u"".
s can be replaced with chr(m) + chr(n) , where m is in range of 128~255, and n in 0~127.
In the above cases, try decoding from chr(n) will never interfere with later parts in the string if there is any, since chr(n) do not start a multibyte sequence. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2011-05-06 09:16:17 | cdqzzy | 修改 | recipients:
+ cdqzzy |
| 2011-05-06 09:16:17 | cdqzzy | 修改 | messageid: <1304673377.35.0.784853339325.issue12016@psf.upfronthosting.co.za> |
| 2011-05-06 09:16:14 | cdqzzy | 链接 | issue12016 messages |
| 2011-05-06 09:16:14 | cdqzzy | 创建 | |
|