Atsuo Ishimoto <[email protected]> added the comment: > 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! ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue15441> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
