[issue9598] untabify.py fails on files that contain non-ascii characters
report at bugs.python.org
Thu Aug 26 01:26:24 CEST 2010
Éric Araujo <merwok at netwok.org> added the comment:
The builtin open in 3.2 is similar to codecs.open. If you read the error message closely, you’ll see that the decoding that failed did try to use UTF-8.
The cause of the problem here is that the bytes used for the ç in François’ name are not valid UTF-8; I can fix that. This does not change the original purpose of this report: untabify should not die.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list