summaryrefslogtreecommitdiffstats
path: root/Lib/encodings
diff options
context:
space:
mode:
authorMichael Osipov <michael.osipov@siemens.com>2019-09-11 13:08:41 (GMT)
committerJason R. Coombs <jaraco@jaraco.com>2019-09-11 13:08:41 (GMT)
commita828514cc3715ebbc700fefa41c0ef044cbd6741 (patch)
treecea6a70e6f9b7ef29caf3717265ff4e80fd553c5 /Lib/encodings
parent9aee90018a5213e3529768e0b873955d23f5e50b (diff)
downloadcpython-a828514cc3715ebbc700fefa41c0ef044cbd6741.zip
cpython-a828514cc3715ebbc700fefa41c0ef044cbd6741.tar.gz
cpython-a828514cc3715ebbc700fefa41c0ef044cbd6741.tar.bz2
bpo-34519: Add additional aliases for HP Roman 8 (GH-8956)
* bpo-34519: Add additional aliases for HP Roman 8 HP Roman 8 is known under mode aliases than listed in aliases.py. Patch by Michael Osipov.
Diffstat (limited to 'Lib/encodings')
-rw-r--r--Lib/encodings/aliases.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/encodings/aliases.py b/Lib/encodings/aliases.py
index 8b621ad..d85afd6 100644
--- a/Lib/encodings/aliases.py
+++ b/Lib/encodings/aliases.py
@@ -266,6 +266,8 @@ aliases = {
'roman8' : 'hp_roman8',
'r8' : 'hp_roman8',
'csHPRoman8' : 'hp_roman8',
+ 'cp1051' : 'hp_roman8',
+ 'ibm1051' : 'hp_roman8',
# hz codec
'hzgb' : 'hz',