• Victor Stinner's avatar
    Issue #16455: On FreeBSD and Solaris, if the locale is C, the · d45c7f8d
    Victor Stinner yazdı
    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.
    d45c7f8d
test_cmd_line_script.py 16.9 KB