Message76704
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:00 | Nick Barnes | set | recipients:
+ Nick Barnes, lemburg, pitrou, vstinner |
2008-12-01 18:07:59 | Nick Barnes | set | messageid: <1228154879.8.0.989452171224.issue4426@psf.upfronthosting.co.za> |
2008-12-01 18:07:58 | Nick Barnes | link | issue4426 messages |
2008-12-01 18:07:58 | Nick Barnes | create | |
|