summaryrefslogtreecommitdiff
path: root/Lib/encodings/aliases.py
diff options
context:
space:
mode:
authorWalter Dörwald <walter@livinglogic.de>2007-08-17 16:41:28 +0000
committerWalter Dörwald <walter@livinglogic.de>2007-08-17 16:41:28 +0000
commit6e390806495cf30c836615996b94e5ffa258cbef (patch)
treeeef913ca3061a114ff6d301a042408d4d3243ecc /Lib/encodings/aliases.py
parent437e6a3b1588ece44abbb4d65f74f9a841638e1d (diff)
downloadcpython-git-6e390806495cf30c836615996b94e5ffa258cbef.tar.gz
Backport r57105 and r57145 from the py3k branch: UTF-32 codecs.
Diffstat (limited to 'Lib/encodings/aliases.py')
-rw-r--r--Lib/encodings/aliases.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/Lib/encodings/aliases.py b/Lib/encodings/aliases.py
index cefb2edc2d..c6f5aeb506 100644
--- a/Lib/encodings/aliases.py
+++ b/Lib/encodings/aliases.py
@@ -490,6 +490,16 @@ aliases = {
'unicodelittleunmarked' : 'utf_16_le',
'utf_16le' : 'utf_16_le',
+ # utf_32 codec
+ 'u32' : 'utf_32',
+ 'utf32' : 'utf_32',
+
+ # utf_32_be codec
+ 'utf_32be' : 'utf_32_be',
+
+ # utf_32_le codec
+ 'utf_32le' : 'utf_32_le',
+
# utf_7 codec
'u7' : 'utf_7',
'utf7' : 'utf_7',