diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-08-18 21:23:25 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-08-18 21:23:25 (GMT) |
commit | 94908bbc1503df830d1d615e7b57744ae1b41079 (patch) | |
tree | 21569de8c7a5018cd83c3692c06544ba77de6f6c /Modules | |
parent | 56ab01b66aaee7495615beecd90438fe9ed99615 (diff) | |
download | cpython-94908bbc1503df830d1d615e7b57744ae1b41079.zip cpython-94908bbc1503df830d1d615e7b57744ae1b41079.tar.gz cpython-94908bbc1503df830d1d615e7b57744ae1b41079.tar.bz2 |
Issue #8622: Add PYTHONFSENCODING environment variable to override the
filesystem encoding.
initfsencoding() displays also a better error message if get_codeset() failed.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/main.c b/Modules/main.c index 3e7e065..d129aba 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -99,6 +99,7 @@ PYTHONHOME : alternate <prefix> directory (or <prefix>%c<exec_prefix>).\n\ The default module search path uses %s.\n\ PYTHONCASEOK : ignore case in 'import' statements (Windows).\n\ PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n\ +PYTHONFSENCODING: Encoding used for the filesystem.\n\ "; FILE * |