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