Message199500
Updated patch addresses Victor's comments on Rietveld. Thank you Victor. The "surrogatepass" error handler now works with different spellings of encodings ("utf_32le", "UTF-32-LE", etc).
> I tested utf_16_32_surrogates_4.patch: surrogateescape with as encoder does not work as expected.
Yes, surrogateescape doesn't work with ASCII incompatible encodings and can't. First, it can't represent the result of decoding b'\x00\xd8' from utf-16-le or b'ABCD' from utf-32*. This problem is worth separated issue (or even PEP) and discussion on Python-Dev. |
|
Date |
User |
Action |
Args |
2013-10-11 20:00:20 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, lemburg, gvanrossum, loewis, pitrou, vstinner, ezio.melotti, tchrist, kennyluck |
2013-10-11 20:00:19 | serhiy.storchaka | set | messageid: <1381521619.91.0.850410659561.issue12892@psf.upfronthosting.co.za> |
2013-10-11 20:00:19 | serhiy.storchaka | link | issue12892 messages |
2013-10-11 20:00:19 | serhiy.storchaka | create | |
|