diff options
author | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-18 19:21:00 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@haypocalc.com> | 2011-10-18 19:21:00 (GMT) |
commit | 3a50e7056ebfb835785c84df925d79bde6d0d209 (patch) | |
tree | 6a6f61d276043fc53dc3290cd74ed7aab3506eab /Doc/library/codecs.rst | |
parent | 1e73a2467f312f7b5ebef515cca6d3a16cf36f97 (diff) | |
download | cpython-3a50e7056ebfb835785c84df925d79bde6d0d209.zip cpython-3a50e7056ebfb835785c84df925d79bde6d0d209.tar.gz cpython-3a50e7056ebfb835785c84df925d79bde6d0d209.tar.bz2 |
Issue #12281: Rewrite the MBCS codec to handle correctly replace and ignore
error handlers on all Windows versions. The MBCS codec is now supporting all
error handlers, instead of only replace to encode and ignore to decode.
Diffstat (limited to 'Doc/library/codecs.rst')
-rw-r--r-- | Doc/library/codecs.rst | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Doc/library/codecs.rst b/Doc/library/codecs.rst index 84593f2..2a7abf9 100644 --- a/Doc/library/codecs.rst +++ b/Doc/library/codecs.rst @@ -1280,12 +1280,13 @@ functions can be used directly if desired. .. module:: encodings.mbcs :synopsis: Windows ANSI codepage -Encode operand according to the ANSI codepage (CP_ACP). This codec only -supports ``'strict'`` and ``'replace'`` error handlers to encode, and -``'strict'`` and ``'ignore'`` error handlers to decode. +Encode operand according to the ANSI codepage (CP_ACP). Availability: Windows only. +.. versionchanged:: 3.3 + Support any error handler. + .. versionchanged:: 3.2 Before 3.2, the *errors* argument was ignored; ``'replace'`` was always used to encode, and ``'ignore'`` to decode. |