Éric Araujo <mer...@netwok.org> added the comment: On POSIX, Python 3 works correctly if my home dir is /tmp/éric, and Python 2.7 returns a UTF-8-encoded (not locale-encoded!) bytes string.
For Windows, a patch would probably need to add a private function to the _nt module (in C): ctypes is too dangerous to be used in the standard library. ---------- nosy: +eric.araujo, haypo _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue13207> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com