diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2009-05-10 08:15:24 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2009-05-10 08:15:24 (GMT) |
commit | 43c57785d3319249c03c3fa46c9df42a8ccd3e52 (patch) | |
tree | 199d57826897ac525b4057253a82aaaefcb6ef82 /Doc/library/os.rst | |
parent | e0a2b72e61a474dceb948be57cb2983f70ab07fb (diff) | |
download | cpython-43c57785d3319249c03c3fa46c9df42a8ccd3e52.zip cpython-43c57785d3319249c03c3fa46c9df42a8ccd3e52.tar.gz cpython-43c57785d3319249c03c3fa46c9df42a8ccd3e52.tar.bz2 |
Rename utf8b error handler to surrogateescape.
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r-- | Doc/library/os.rst | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 83f5ee9..2213740 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -64,8 +64,8 @@ perform this conversion (see :func:`sys.getfilesystemencoding`). .. versionchanged:: 3.1 On some systems, conversion using the file system encoding may - fail. In this case, Python uses the ``utf8b`` encoding error - handler, which means that undecodable bytes are replaced by a + fail. In this case, Python uses the ``surrogateescape`` encoding + error handler, which means that undecodable bytes are replaced by a Unicode character U+DCxx on decoding, and these are again translated to the original byte on encoding. |