STINNER Victor added the comment: Steve Dower added the comment: > By portable, do you mean not using an environment variable?
I mean that "python3 -X utf8" should force sys.getfilesystemencoding() to UTF-8 on UNIX/BSD, it would ignore the current locale setting. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27781> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com