Benjamin Peterson <benja...@python.org> 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 <rep...@bugs.python.org> <http://bugs.python.org/issue2660> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com