diff options
Diffstat (limited to 'Doc/whatsnew/3.2.rst')
| -rw-r--r-- | Doc/whatsnew/3.2.rst | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.2.rst b/Doc/whatsnew/3.2.rst index 2ec93d2bb2..bf65545cc9 100644 --- a/Doc/whatsnew/3.2.rst +++ b/Doc/whatsnew/3.2.rst @@ -242,7 +242,9 @@ Filenames and unicode The filesystem encoding can be specified by setting the :envvar:`PYTHONFSENCODING` environment variable before running the interpreter. -The value should be a string in the form ``<encoding>``, e.g. ``utf-8``. +The value is an encoding name, e.g. ``iso-8859-1``. This variable is not +available (ignored) on Windows and Mac OS X: the filesystem encoding is pinned +to ``'mbcs'`` on Windows and ``'utf-8'`` on Mac OS X. The :mod:`os` module has two new functions: :func:`os.fsencode` and :func:`os.fsdecode`. |
