mirror of
https://github.com/python/cpython.git
synced 2025-07-16 07:45:20 +00:00
Rename utf8b error handler to surrogateescape.
This commit is contained in:
parent
e0a2b72e61
commit
43c57785d3
9 changed files with 30 additions and 30 deletions
|
@ -42,7 +42,7 @@ char2wchar(char* arg)
|
|||
return res;
|
||||
PyMem_Free(res);
|
||||
}
|
||||
/* Conversion failed. Fall back to escaping with utf8b. */
|
||||
/* Conversion failed. Fall back to escaping with surrogateescape. */
|
||||
#ifdef HAVE_MBRTOWC
|
||||
/* Try conversion with mbrtwoc (C99), and escape non-decodable bytes. */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue