diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2009-05-10 08:15:24 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2009-05-10 08:15:24 +0000 |
commit | ea1a5ce2a56031861896e63e2b735016c732b476 (patch) | |
tree | 6942371ee4d3e327d56ed944f42c9fbf255315a6 /Objects | |
parent | 965f99813bd8107b554bb2aac584e0de145ac354 (diff) | |
download | cpython-ea1a5ce2a56031861896e63e2b735016c732b476.tar.gz |
Rename utf8b error handler to surrogateescape.
Diffstat (limited to 'Objects')
-rw-r--r-- | Objects/unicodeobject.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/unicodeobject.c b/Objects/unicodeobject.c index 3740892e67..3bd1efd939 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; |