diff options
author | Georg Brandl <georg@python.org> | 2007-01-27 17:59:42 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2007-01-27 17:59:42 (GMT) |
commit | 4ba9e5bdc7213373dab9eb915fb459f7f5e06fb5 (patch) | |
tree | 9b5571d75dfd7cee5025eebe9637d9aab481933d /Lib/email | |
parent | ab49684f550ce6b12614b8a329f4d280e20e1277 (diff) | |
download | cpython-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/email')
-rw-r--r-- | Lib/email/charset.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/email/charset.py b/Lib/email/charset.py index 8f218b2..d5ed3a8 100644 --- a/Lib/email/charset.py +++ b/Lib/email/charset.py @@ -46,6 +46,7 @@ CHARSETS = { 'iso-8859-13': (QP, QP, None), 'iso-8859-14': (QP, QP, None), 'iso-8859-15': (QP, QP, None), + 'iso-8859-16': (QP, QP, None), 'windows-1252':(QP, QP, None), 'viscii': (QP, QP, None), 'us-ascii': (None, None, None), @@ -81,6 +82,8 @@ ALIASES = { 'latin-8': 'iso-8859-14', 'latin_9': 'iso-8859-15', 'latin-9': 'iso-8859-15', + 'latin_10':'iso-8859-16', + 'latin-10':'iso-8859-16', 'cp949': 'ks_c_5601-1987', 'euc_jp': 'euc-jp', 'euc_kr': 'euc-kr', |