File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1208,9 +1208,9 @@ are always available. They are listed here in alphabetical order.
12081208 * ``'replace' `` causes a replacement marker (such as ``'?' ``) to be inserted
12091209 where there is malformed data.
12101210
1211- * ``'surrogateescape' `` will represent any incorrect bytes as code
1212- points in the Unicode Private Use Area ranging from U+DC80 to
1213- U+DCFF. These private code points will then be turned back into
1211+ * ``'surrogateescape' `` will represent any incorrect bytes as low
1212+ surrogate code units ranging from U+DC80 to U+DCFF.
1213+ These surrogate code units will then be turned back into
12141214 the same bytes when the ``surrogateescape `` error handler is used
12151215 when writing data. This is useful for processing files in an
12161216 unknown encoding.
You can’t perform that action at this time.
0 commit comments