Rename utf8b error handler to surrogateescape.

This commit is contained in:
Martin v. Löwis 2009-05-10 08:15:24 +00:00
parent e0a2b72e61
commit 43c57785d3
9 changed files with 30 additions and 30 deletions

View file

@ -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. */