[issue4574] reading UTF16-encoded text file crashes if \r on 64-char boundary

Antoine Pitrou report at bugs.python.org
Sat Dec 13 19:14:08 CET 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

Here is a simpler patch with a different approach and a lot of tests.
The advantage is that it doesn't break the API.

Added file: http://bugs.python.org/file12344/utf16_newlines.patch

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


More information about the Python-bugs-list mailing list