STINNER Victor added the comment: "Does anyone know if Python does still support systems where CODESET is not available? Which OS does not support CODESET?"
I checked my VMs with Python, nl_langinfo(CODESET) works on: - Linux (Fedora 18, kernel 3.9) - OpenBSD 5.2 - OpenIndiana 148 (SunOS 5.11) - FreeBSD 9.1 I also tested my patch on Windows 7: _bootlocale.getpreferredencoding() works as expected (it returns "cp1252"). ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9548> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com