Message166482
> 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! |
|
Date |
User |
Action |
Args |
2012-07-26 14:18:24 | ishimoto | set | recipients:
+ ishimoto, loewis, vstinner, tim.golden, ezio.melotti, flox |
2012-07-26 14:18:24 | ishimoto | set | messageid: <1343312304.67.0.785914952424.issue15441@psf.upfronthosting.co.za> |
2012-07-26 14:18:24 | ishimoto | link | issue15441 messages |
2012-07-26 14:18:24 | ishimoto | create | |
|