Serhiy Storchaka added the comment: > Ah, I misunderstood your comment.
Ah, you misunderstood my comment right now. > So, listdir is returning the "correct" the filename, it's just that we can't > encode it to the console encoding. listdir() returns already irremediably broken filename (all Cyrillic letters replaced with '?'). My test script outputs only ascii data, you see literally what you get, there is no output encoding issues. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16656> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com