This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ezio.melotti, kennyluck, loewis, python-dev, serhiy.storchaka, vstinner
Date 2014-05-15.15:11:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1400166709.51.0.671795848912.issue13916@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch, which adds support for cp65001 and fixes test_cp1252. Please test it on Windows Vista.

Lone surrogates are not illegal in UTF-7 (see RFC 1642), so error handler is not called and explicit support of UTF-7 is not needed.

Could you please help with documenting this change in What's new Python 3.5 document? I don't think this change is worth special mentioning in codecs documentation, it is already documented that surrogatepass is supported only for utf-8, utf-16* and utf-32*.
History
Date User Action Args
2014-05-15 15:11:49serhiy.storchakasetrecipients: + serhiy.storchaka, loewis, vstinner, ezio.melotti, python-dev, kennyluck
2014-05-15 15:11:49serhiy.storchakasetmessageid: <1400166709.51.0.671795848912.issue13916@psf.upfronthosting.co.za>
2014-05-15 15:11:49serhiy.storchakalinkissue13916 messages
2014-05-15 15:11:49serhiy.storchakacreate