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 @@ -1208,9 +1208,9 @@ are always available. They are listed here in alphabetical order.
1208
1208
* ``'replace' `` causes a replacement marker (such as ``'?' ``) to be inserted
1209
1209
where there is malformed data.
1210
1210
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
1214
1214
the same bytes when the ``surrogateescape `` error handler is used
1215
1215
when writing data. This is useful for processing files in an
1216
1216
unknown encoding.
You can’t perform that action at this time.
0 commit comments