24.07.13 21:15, Chris Angelico написав(ла):
To my mind, exposing UTF-16 surrogates to the application is a bug to be fixed, not a feature to be maintained.
Python 3 uses code points from U+DC80 to U+DCFF (which are in surrogates area) to represent undecodable bytes with surrogateescape error handler.
-- http://mail.python.org/mailman/listinfo/python-list