Benjamin Peterson <[email protected]> added the comment: The problem is that 2to3 just reads the file with whatever locale.getpreferredencoding() returns. It should use tokenize.detect_encoding() to discover the correct encoding to open it with.
---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue2660> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
