summaryrefslogtreecommitdiffstats
path: root/Lib/encodings
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2007-01-27 17:59:42 (GMT)
committerGeorg Brandl <georg@python.org>2007-01-27 17:59:42 (GMT)
commit4ba9e5bdc7213373dab9eb915fb459f7f5e06fb5 (patch)
tree9b5571d75dfd7cee5025eebe9637d9aab481933d /Lib/encodings
parentab49684f550ce6b12614b8a329f4d280e20e1277 (diff)
downloadcpython-4ba9e5bdc7213373dab9eb915fb459f7f5e06fb5.zip
cpython-4ba9e5bdc7213373dab9eb915fb459f7f5e06fb5.tar.gz
cpython-4ba9e5bdc7213373dab9eb915fb459f7f5e06fb5.tar.bz2
Patch #1634778: add missing encoding aliases for iso8859_15 and
iso8859_16.
Diffstat (limited to 'Lib/encodings')
-rw-r--r--Lib/encodings/aliases.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/Lib/encodings/aliases.py b/Lib/encodings/aliases.py
index 681f9e3..cefb2ed 100644
--- a/Lib/encodings/aliases.py
+++ b/Lib/encodings/aliases.py
@@ -301,6 +301,8 @@ aliases = {
# iso8859_13 codec
'iso_8859_13' : 'iso8859_13',
+ 'l7' : 'iso8859_13',
+ 'latin7' : 'iso8859_13',
# iso8859_14 codec
'iso_8859_14' : 'iso8859_14',
@@ -312,6 +314,8 @@ aliases = {
# iso8859_15 codec
'iso_8859_15' : 'iso8859_15',
+ 'l9' : 'iso8859_15',
+ 'latin9' : 'iso8859_15',
# iso8859_16 codec
'iso_8859_16' : 'iso8859_16',