put PYTHONIOENCODING in man page

This commit is contained in:
Benjamin Peterson 2010-10-13 22:20:15 +00:00
parent 90bbaa57f9
commit ee85a1d3bb
1 changed files with 11 additions and 2 deletions

View File

@ -384,9 +384,18 @@ files).
.IP PYTHONINSPECT
If this is set to a non-empty string it is equivalent to specifying
the \fB\-i\fP option.
.IP PYTHONIOENCODING
If this is set before running the interpreter, it overrides the encoding used
for stdin/stdout/stderr, in the syntax
.IB encodingname ":" errorhandler
The
.IB errorhandler
part is optional and has the same meaning as in str.encode. For stderr, the
.IB errorhandler
part is ignored; the handler will always be \'backslashreplace\'.
.IP PYTHONNOUSERSITE
If this is set to a non-empty string it is equivalent to specifying
the \fB\-s\fP option (Don't add the user site directory to sys.path).
If this is set to a non-empty string it is equivalent to specifying the
\fB\-s\fP option (Don't add the user site directory to sys.path).
.IP PYTHONUNBUFFERED
If this is set to a non-empty string it is equivalent to specifying
the \fB\-u\fP option.