[issue13916] disallow the "surrogatepass" handler for non utf-* encodings

Serhiy Storchaka report at bugs.python.org
Thu May 15 09:26:14 CEST 2014


Serhiy Storchaka added the comment:

This issue was mainly resolved in issue12892. The surrogatepass error handler now works with UTF-16* and UTF-32* encodings. But for other encodings it behaves as for UTF-8 (preserve old behavior). Should we change the behavior for non-UTF encodings end raise an exception (as for "strict")?

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13916>
_______________________________________


More information about the Python-bugs-list mailing list