This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author benjamin.peterson
Recipients ajaksu2, azverkan, benjamin.peterson, collinwinter
Date 2009-04-27.02:39:28
SpamBayes Score 0.0016802284
Marked as misclassified No
Message-id <>
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.
Date User Action Args
2009-04-27 02:39:30benjamin.petersonsetrecipients: + benjamin.peterson, collinwinter, ajaksu2, azverkan
2009-04-27 02:39:30benjamin.petersonsetmessageid: <>
2009-04-27 02:39:29benjamin.petersonlinkissue2660 messages
2009-04-27 02:39:28benjamin.petersoncreate