commit | 43c57785d3319249c03c3fa46c9df42a8ccd3e52 | [log] [tgz] |
---|---|---|
author | Martin v. Löwis <martin@v.loewis.de> | Sun May 10 08:15:24 2009 +0000 |
committer | Martin v. Löwis <martin@v.loewis.de> | Sun May 10 08:15:24 2009 +0000 |
tree | 199d57826897ac525b4057253a82aaaefcb6ef82 | |
parent | e0a2b72e61a474dceb948be57cb2983f70ab07fb [diff] |
Rename utf8b error handler to surrogateescape.
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 3740892..3bd1efd 100644 --- a/Objects/unicodeobject.c +++ b/Objects/unicodeobject.c
@@ -1549,7 +1549,7 @@ return 0; output = PyUnicode_AsEncodedObject(arg, Py_FileSystemDefaultEncoding, - "utf8b"); + "surrogateescape"); Py_DECREF(arg); if (!output) return 0;