Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit ee85a1d

Browse files
committed
put PYTHONIOENCODING in man page
1 parent 90bbaa5 commit ee85a1d

1 file changed

Lines changed: 11 additions & 2 deletions

File tree

Misc/python.man

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -384,9 +384,18 @@ files).
384384
.IP PYTHONINSPECT
385385
If this is set to a non-empty string it is equivalent to specifying
386386
the \fB\-i\fP option.
387+
.IP PYTHONIOENCODING
388+
If this is set before running the interpreter, it overrides the encoding used
389+
for stdin/stdout/stderr, in the syntax
390+
.IB encodingname ":" errorhandler
391+
The
392+
.IB errorhandler
393+
part is optional and has the same meaning as in str.encode. For stderr, the
394+
.IB errorhandler
395+
part is ignored; the handler will always be \'backslashreplace\'.
387396
.IP PYTHONNOUSERSITE
388-
If this is set to a non-empty string it is equivalent to specifying
389-
the \fB\-s\fP option (Don't add the user site directory to sys.path).
397+
If this is set to a non-empty string it is equivalent to specifying the
398+
\fB\-s\fP option (Don't add the user site directory to sys.path).
390399
.IP PYTHONUNBUFFERED
391400
If this is set to a non-empty string it is equivalent to specifying
392401
the \fB\-u\fP option.

0 commit comments

Comments
 (0)