summaryrefslogtreecommitdiffstats
path: root/Lib/encodings/aliases.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/encodings/aliases.py')
-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 c3c49b4..65d8fef 100644
--- a/Lib/encodings/aliases.py
+++ b/Lib/encodings/aliases.py
@@ -14,6 +14,10 @@ aliases = {
'latin': 'latin_1',
'latin1': 'latin_1',
+ # UTF-7
+ 'utf7': 'utf_7',
+ 'u7': 'utf_7',
+
# UTF-8
'utf': 'utf_8',
'utf8': 'utf_8',