.. envvar:: PYTHONFSENCODING
- If this is set before running the intepreter, it overrides the encoding used
+ If this is set before running the interpreter, it overrides the encoding used
for the filesystem encoding (see :func:`sys.getfilesystemencoding`).
.. versionadded:: 3.2
.. envvar:: PYTHONIOENCODING
- If this is set before running the intepreter, it overrides the encoding used
+ If this is set before running the interpreter, it overrides the encoding used
for stdin/stdout/stderr, in the syntax ``encodingname:errorhandler``. The
``:errorhandler`` part is optional and has the same meaning as in
:func:`str.encode`.
=======
The filesystem encoding can be specified by setting the
-:envvar:`PYTHONFSENCODING` environment variable before running the intepreter.
+:envvar:`PYTHONFSENCODING` environment variable before running the interpreter.
The value should be a string in the form ``<encoding>``, e.g. ``utf-8``.