STINNER Victor <victor.stin...@haypocalc.com> added the comment: > "dir" command cannot print filename correctly, though.
Who cares? We just have to be able to create a file with a name containing non encodable characters, list the directory, and then remove this evil file. -- With r84666, Python uses "-\u5171\u6709\u3055\u308c\u308b" suffix for TESTFN_UNENCODABLE. Does it fix the issue on your host? I attached an improved version of find_unencode_filename.py (with more code pages). -- > > TESTFN_UNICODE_UNDECODEABLE (2.x) > This is a typo fixed by r83987 in py3k. I backported the fix to 2.7 (r84667). ---------- Added file: http://bugs.python.org/file18827/find_unencode_filename-2.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9819> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com