SIGN IN SIGN UP

gh-104783: locale.getencoding() fallback uses FS encoding (#105381)

The locale.getencoding() function now uses
sys.getfilesystemencoding() if _locale.getencoding() is missing,
instead of calling locale.getdefaultlocale().
V
Victor Stinner committed
b1a91d26c67250ff7abeb20064e7766096604001
Parent: 3a975b5
Committed by GitHub <noreply@github.com> on 6/6/2023, 2:55:21 PM