From: Inada Naoki Date: Sat, 14 Dec 2019 10:53:43 +0000 (+0900) Subject: Add PYTHONUTF8 to commandline usage. (GH-17587) (GH-17599) X-Git-Tag: v3.7.6~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b4f98f412ad9c203c3d60101cf6fdc04415c0032;p=thirdparty%2FPython%2Fcpython.git Add PYTHONUTF8 to commandline usage. (GH-17587) (GH-17599) Co-Authored-By: Victor Stinner (cherry picked from commit 95826c773a9004fc5b3c89de55f800504685ab21) --- diff --git a/Modules/main.c b/Modules/main.c index acc59c6c40a9..4d13184f2d18 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -131,6 +131,7 @@ static const char usage_5[] = "PYTHONHOME : alternate directory (or %lc).\n" " The default module search path uses %s.\n" "PYTHONCASEOK : ignore case in 'import' statements (Windows).\n" +"PYTHONUTF8: if set to 1, enable the UTF-8 mode.\n" "PYTHONIOENCODING: Encoding[:errors] used for stdin/stdout/stderr.\n" "PYTHONFAULTHANDLER: dump the Python traceback on fatal errors.\n"; static const char usage_6[] =