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 Nick Barnes
Recipients Nick Barnes, lemburg, pitrou, vstinner
Date 2008-12-01.18:07:57
SpamBayes Score 0.00156832
Marked as misclassified No
Message-id <>
Here is my patch.  This is a rewrite of the UTF7 encoder and decoder. 
It now handles surrogate pairs correctly, so non-BMP characters work
with this codec.  And my motivating example ('/'.decode('utf7')) works
OK.  I'm not totally confident of the error-handling code here, but in
'strict' mode this is definitely a better codec than the one it
replaces.  This patch is based on the Python 2.6 distribution.
Date User Action Args
2008-12-01 18:08:00Nick Barnessetrecipients: + Nick Barnes, lemburg, pitrou, vstinner
2008-12-01 18:07:59Nick Barnessetmessageid: <>
2008-12-01 18:07:58Nick Barneslinkissue4426 messages
2008-12-01 18:07:58Nick Barnescreate