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

@ -1549,7 +1549,7 @@ PyUnicode_FSConverter(PyObject* arg, void* addr)
return 0;
output = PyUnicode_AsEncodedObject(arg,
Py_FileSystemDefaultEncoding,
"utf8b");
"surrogateescape");
Py_DECREF(arg);
if (!output)
return 0;