]> granicus.if.org Git - python/commitdiff
Issue #27959: Documents new encoding and alias.
authorSteve Dower <steve.dower@microsoft.com>
Wed, 7 Sep 2016 02:46:42 +0000 (19:46 -0700)
committerSteve Dower <steve.dower@microsoft.com>
Wed, 7 Sep 2016 02:46:42 +0000 (19:46 -0700)
Doc/library/codecs.rst

index 1add30072f45816d69e12a68df18efd0a18f3e75..c6b6a56e433e3e619986fa33a62690c27bd6b967 100644 (file)
@@ -1254,10 +1254,16 @@ encodings.
 |                    |         | Only ``errors='strict'``  |
 |                    |         | is supported.             |
 +--------------------+---------+---------------------------+
-| mbcs               | dbcs    | Windows only: Encode      |
-|                    |         | operand according to the  |
+| mbcs               | ansi,   | Windows only: Encode      |
+|                    | dbcs    | operand according to the  |
 |                    |         | ANSI codepage (CP_ACP)    |
 +--------------------+---------+---------------------------+
+| oem                |         | Windows only: Encode      |
+|                    |         | operand according to the  |
+|                    |         | OEM codepage (CP_OEMCP)   |
+|                    |         |                           |
+|                    |         | .. versionadded:: 3.6     |
++--------------------+---------+---------------------------+
 | palmos             |         | Encoding of PalmOS 3.5    |
 +--------------------+---------+---------------------------+
 | punycode           |         | Implements :rfc:`3492`.   |