bpo-43733: netrc try to use UTF-8 before using locale encoding. (GH-25781)

3 files changed