mirror of
https://github.com/python/cpython.git
synced 2026-05-10 14:41:01 -04:00
7ae320d667
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.