summaryrefslogtreecommitdiffstats
path: root/Objects
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2009-05-10 08:15:24 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2009-05-10 08:15:24 (GMT)
commit43c57785d3319249c03c3fa46c9df42a8ccd3e52 (patch)
tree199d57826897ac525b4057253a82aaaefcb6ef82 /Objects
parente0a2b72e61a474dceb948be57cb2983f70ab07fb (diff)
downloadcpython-43c57785d3319249c03c3fa46c9df42a8ccd3e52.zip
cpython-43c57785d3319249c03c3fa46c9df42a8ccd3e52.tar.gz
cpython-43c57785d3319249c03c3fa46c9df42a8ccd3e52.tar.bz2
Rename utf8b error handler to surrogateescape.
Diffstat (limited to 'Objects')
-rw-r--r--Objects/unicodeobject.c2
1 files changed, 1 insertions, 1 deletions
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 @@ PyUnicode_FSConverter(PyObject* arg, void* addr)
return 0;
output = PyUnicode_AsEncodedObject(arg,
Py_FileSystemDefaultEncoding,
- "utf8b");
+ "surrogateescape");
Py_DECREF(arg);
if (!output)
return 0;