commit | ae6265f8d06dbec7d08c73ca23dad0f040d09b8e | [log] [tgz] |
---|---|---|
author | Victor Stinner <victor.stinner@haypocalc.com> | Sat May 15 16:27:27 2010 +0000 |
committer | Victor Stinner <victor.stinner@haypocalc.com> | Sat May 15 16:27:27 2010 +0000 |
tree | 3598426233e690b284bce322194f51be94ab6799 | |
parent | 59e62db0a39eb89930ed3ae1730726cd15b7d640 [diff] |
Issue #8715: Create PyUnicode_EncodeFSDefault() function: Encode a Unicode object to Py_FileSystemDefaultEncoding with the "surrogateescape" error handler, return a bytes object. If Py_FileSystemDefaultEncoding is not set, fall back to UTF-8.