diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-15 16:27:27 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2010-05-15 16:27:27 (GMT) |
commit | ae6265f8d06dbec7d08c73ca23dad0f040d09b8e (patch) | |
tree | 3598426233e690b284bce322194f51be94ab6799 /Misc | |
parent | 59e62db0a39eb89930ed3ae1730726cd15b7d640 (diff) | |
download | cpython-ae6265f8d06dbec7d08c73ca23dad0f040d09b8e.zip cpython-ae6265f8d06dbec7d08c73ca23dad0f040d09b8e.tar.gz cpython-ae6265f8d06dbec7d08c73ca23dad0f040d09b8e.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -12,6 +12,11 @@ What's New in Python 3.2 Alpha 1? Core and Builtins ----------------- +- 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. + - Enable shortcuts for common encodings in PyUnicode_AsEncodedString() for any error handler, not only the default error handler (strict) |