◐ Shell
clean mode source ↗

Message 199511 - Python tracker

"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").