summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hammond <mhammond@skippinet.com.au>2001-06-04 02:31:23 (GMT)
committerMark Hammond <mhammond@skippinet.com.au>2001-06-04 02:31:23 (GMT)
commit194bfb2805abc312878279e13c012d2db87adb2c (patch)
tree8bd51cde541a81bb04fe82dbb275b05e2b541fd0
parent351c3d055488b1ec68c764e22a0c784721f29020 (diff)
downloadcpython-194bfb2805abc312878279e13c012d2db87adb2c.zip
cpython-194bfb2805abc312878279e13c012d2db87adb2c.tar.gz
cpython-194bfb2805abc312878279e13c012d2db87adb2c.tar.bz2
Add some useful Windows encodings - patch #423221.
-rw-r--r--Lib/encodings/aliases.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Lib/encodings/aliases.py b/Lib/encodings/aliases.py
index 6cf40b4..cb9251c 100644
--- a/Lib/encodings/aliases.py
+++ b/Lib/encodings/aliases.py
@@ -59,6 +59,11 @@ aliases = {
'macroman': 'mac_roman',
'macturkish': 'mac_turkish',
+ # Windows
+ 'windows_1252': 'cp1252',
+ 'windows_1254': 'cp1254',
+ 'windows_1255': 'cp1255',
+
# MBCS
'dbcs': 'mbcs',