]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add some useful Windows encodings - patch #423221.
authorMark Hammond <mhammond@skippinet.com.au>
Mon, 4 Jun 2001 02:31:23 +0000 (02:31 +0000)
committerMark Hammond <mhammond@skippinet.com.au>
Mon, 4 Jun 2001 02:31:23 +0000 (02:31 +0000)
Lib/encodings/aliases.py

index 6cf40b46aa1880f21cdc7ed6fd10a6f0f3820f07..cb9251cc35f35803f12077dd9c2734d2573d03ec 100644 (file)
@@ -59,6 +59,11 @@ aliases = {
     'macroman': 'mac_roman',
     'macturkish': 'mac_turkish',
 
+    # Windows
+    'windows_1252': 'cp1252',
+    'windows_1254': 'cp1254',
+    'windows_1255': 'cp1255',
+
     # MBCS
     'dbcs': 'mbcs',