Message135422
| Author |
cdqzzy |
| Recipients |
cdqzzy, ezio.melotti, lemburg, terry.reedy, vstinner |
| Date |
2011年05月07日.09:08:38 |
| SpamBayes Score |
2.0157563e-07 |
| Marked as misclassified |
No |
| Message-id |
<1304759319.16.0.657010046531.issue12016@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> So the correct result for b'\xff\n'.decode('gb2312', 'replace') is u'?\n'?
I think it should be so. This behavior does not leave out possible information, has no side-effect on later decodings, and should the '\n' indeed be redundant, an output of u'?\n' would unlikely cause confusions.
Though, I have no knowledge on this subject code-wise. If a change of the behavior will have an impact on performance, maybe the change should not come in. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2011年05月07日 09:08:39 | cdqzzy | set | recipients:
+ cdqzzy, lemburg, terry.reedy, vstinner, ezio.melotti |
| 2011年05月07日 09:08:39 | cdqzzy | set | messageid: <1304759319.16.0.657010046531.issue12016@psf.upfronthosting.co.za> |
| 2011年05月07日 09:08:38 | cdqzzy | link | issue12016 messages |
| 2011年05月07日 09:08:38 | cdqzzy | create |
|