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 ishimoto
Recipients ezio.melotti, flox, ishimoto, loewis, tim.golden, vstinner
Date 2012-07-26.14:18:24
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1343312304.67.0.785914952424.issue15441@psf.upfronthosting.co.za>
In-reply-to
Content
> chcp does only change the OEM code page, whereas Python uses the ANSI code page for sys.getfilesystemencoding().

Sorry, I should have investigated the code more carefully.

> Attached patch win32_bytes_filename.patch tries to solve both issues: the test and UnicodeDecodeError on raising the OSError.

Looks good to me. Thank you!
History
Date User Action Args
2012-07-26 14:18:24ishimotosetrecipients: + ishimoto, loewis, vstinner, tim.golden, ezio.melotti, flox
2012-07-26 14:18:24ishimotosetmessageid: <1343312304.67.0.785914952424.issue15441@psf.upfronthosting.co.za>
2012-07-26 14:18:24ishimotolinkissue15441 messages
2012-07-26 14:18:24ishimotocreate