Message137904
| Author |
vstinner |
| Recipients |
amaury.forgeotdarc, loewis, ocean-city, vstinner |
| Date |
2011年06月08日.12:59:37 |
| SpamBayes Score |
0.003521174 |
| Marked as misclassified |
No |
| Message-id |
<1307537978.29.0.656999181742.issue12281@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> Example with ANSI=cp932 (on Windows Seven):
> - b'abc\xffdef'.decode('mbcs', 'replace') gives 'abc\uf8f3def'
> - b'abc\xffdef'.decode('mbcs', 'ignore') gives 'abcdef'
Oh, and b'\xff'.decode('mbcs', 'surrogateescape') gives '\udcff' as expected. At least for surrogateescape, it would be nice that mbcs supports any error handler on encoding. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年06月08日 12:59:38 | vstinner | set | recipients:
+ vstinner, loewis, amaury.forgeotdarc, ocean-city |
| 2011年06月08日 12:59:38 | vstinner | set | messageid: <1307537978.29.0.656999181742.issue12281@psf.upfronthosting.co.za> |
| 2011年06月08日 12:59:37 | vstinner | link | issue12281 messages |
| 2011年06月08日 12:59:37 | vstinner | create |
|