Florent Xicluna <la...@yahoo.fr> added the comment: Actually, it is the documented behaviour. http://docs.python.org/py3k/library/os.html#file-names-command-line-arguments-and-environment-variables
>>> b'\xe7'.decode('utf-8', 'surrogateescape') '\udce7' ---------- resolution: -> invalid stage: -> committed/rejected status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7697> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com