summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-12-02 12:24:19 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-12-02 12:24:19 (GMT)
commit79d802d58c2704b9d43f8fda44bf41d926023dd0 (patch)
tree461a99edbf762dbd2360e15f2e995f1489b78ade
parent155aad17be54854bea6cafeb5177b19b4cb72bc6 (diff)
downloadcpython-79d802d58c2704b9d43f8fda44bf41d926023dd0.zip
cpython-79d802d58c2704b9d43f8fda44bf41d926023dd0.tar.gz
cpython-79d802d58c2704b9d43f8fda44bf41d926023dd0.tar.bz2
Patch #487275: Add windows-1251 charset alias.
-rw-r--r--Lib/encodings/aliases.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/encodings/aliases.py b/Lib/encodings/aliases.py
index 65d8fef..d6101da 100644
--- a/Lib/encodings/aliases.py
+++ b/Lib/encodings/aliases.py
@@ -71,6 +71,7 @@ aliases = {
'macturkish': 'mac_turkish',
# Windows
+ 'windows_1251': 'cp1251',
'windows_1252': 'cp1252',
'windows_1254': 'cp1254',
'windows_1255': 'cp1255',