commit | 20b654acb50cf59a4b8f8058db5f6b8162bdb91b | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@gmail.com> | Thu Jan 03 01:08:58 2013 +0100 |
committer | Victor Stinner <victor.stinner@gmail.com> | Thu Jan 03 01:08:58 2013 +0100 |
tree | 3330fbbd3e1d3b51a0a751db52aa974731dd0308 | |
parent | 638fb9bbedd84975512554194a5a22b9e2c0637c [diff] |
Issue #16455: On FreeBSD and Solaris, if the locale is C, the ASCII/surrogateescape codec is now used, instead of the locale encoding, to decode the command line arguments. This change fixes inconsistencies with os.fsencode() and os.fsdecode() because these operating systems announces an ASCII locale encoding, whereas the ISO-8859-1 encoding is used in practice.