STINNER Victor added the comment:

"sys.getfilesystemencoding() says for Unix: On Unix, the encoding is the user’s 
preference according to the result of nl_langinfo(CODESET), or 'utf-8' if 
nl_langinfo(CODESET) failed."

Oh, this documentation is wrong since at least Python 3.2: if 
nl_langinfo(CODESET) fails, Python exits immediatly with a (fatal) error.

There is no (more?) such fallback to "utf-8".

----------
nosy: +haypo

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19847>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to