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 <1240799970.19.0.79910786946.issue2660@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-04-27 02:39:30benjamin.petersonsetrecipients: + benjamin.peterson, collinwinter, ajaksu2, azverkan
2009-04-27 02:39:30benjamin.petersonsetmessageid: <1240799970.19.0.79910786946.issue2660@psf.upfronthosting.co.za>
2009-04-27 02:39:29benjamin.petersonlinkissue2660 messages
2009-04-27 02:39:28benjamin.petersoncreate