From 38d6445463515da0a12d5f4a5348c9ec64b21b0a Mon Sep 17 00:00:00 2001 From: Felipe Rodrigues Date: Tue, 30 Oct 2018 09:05:41 -0300 Subject: [PATCH] Add aliases for cp874 and mac_cyrillic encodings --- Lib/encodings/aliases.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Lib/encodings/aliases.py b/Lib/encodings/aliases.py index 2e63c2f9495ecd..0b3e66b345b165 100644 --- a/Lib/encodings/aliases.py +++ b/Lib/encodings/aliases.py @@ -204,6 +204,10 @@ 'csibm869' : 'cp869', 'ibm869' : 'cp869', + # cp874 codec + 'windows_874' : 'cp874', + + # cp932 codec '932' : 'cp932', 'ms932' : 'cp932', @@ -439,6 +443,7 @@ # mac_cyrillic codec 'maccyrillic' : 'mac_cyrillic', + 'x_mac_cyrillic' : 'mac_cyrillic', # mac_greek codec 'macgreek' : 'mac_greek',