]> granicus.if.org Git - python/commit
Issue #16455: On FreeBSD and Solaris, if the locale is C, the
authorVictor Stinner <victor.stinner@gmail.com>
Thu, 3 Jan 2013 00:08:58 +0000 (01:08 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Thu, 3 Jan 2013 00:08:58 +0000 (01:08 +0100)
commit20b654acb50cf59a4b8f8058db5f6b8162bdb91b
tree3330fbbd3e1d3b51a0a751db52aa974731dd0308
parent638fb9bbedd84975512554194a5a22b9e2c0637c
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.
Misc/NEWS
Objects/unicodeobject.c
Python/fileutils.c