comparison Python/errors.c @ 80718:c25635b137cc

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.
author Victor Stinner <victor.stinner@gmail.com>
date Tue, 04 Dec 2012 01:34:47 +0100
parents a281604a5c9a
children bb94f6222fef
comparison
equal deleted inserted replaced
80716:b845901cf702 80718:c25635b137cc