[Python-Dev] surrogatepass - she's a witch, burn 'er! [was: Cleaning up ...] (original) (raw)
Stephen J. Turnbull stephen at xemacs.org
Fri Aug 29 02:41:03 CEST 2014
- Previous message: [Python-Dev] Cleaning up surrogate escaped strings (was Bytes path related questions for Guido)
- Next message: [Python-Dev] surrogatepass - she's a witch, burn 'er! [was: Cleaning up ...]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
In the process of booking up for my other post in this thread, I noticed the 'surrogatepass' handler.
Is there a real use case for the 'surrogatepass' error handler? It seems like a horrible break in the abstraction. IMHO, if there's a need, the application should handle this. Python shouldn't provide it on encoding as the resulting streams are not Unicode conformant, nor on decoding UTF-16, as conversion of surrogate pairs is a requirement of all Unicode versions since about 1995.
Steve
- Previous message: [Python-Dev] Cleaning up surrogate escaped strings (was Bytes path related questions for Guido)
- Next message: [Python-Dev] surrogatepass - she's a witch, burn 'er! [was: Cleaning up ...]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]