STINNER Victor added the comment: > >>> sys.getfilesystemencoding() > 'mbcs' > >>> import locale > >>> locale.getpreferredencoding() > 'cp932' > >>> > > 'cp932' is the same as 'mbcs' in the Japanese environment.
And what is the value.of locale.getpreferredencoding(False)? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16322> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com