gst-libav1: update to 1.24.11
[oi-userland.git] / components / python / python37 / patches / 05-encoding-alias.patch
blob0e84111e7c618267a2d64a42030674f10d1f32ee
1 Add missing encoding aliases. It may be contributed upstream at some point,
2 but the suitability (or lack thereof) has not yet been determined.
4 --- Python-3.7.1/Lib/encodings/aliases.py 2018-11-28 06:54:38.390581132 +0000
5 +++ Python-3.7.1/Lib/encodings/aliases.py 2018-11-28 06:51:39.932108890 +0000
6 @@ -79,6 +79,7 @@ aliases = {
8 # cp1251 codec
9 '1251' : 'cp1251',
10 + 'ansi_1251' : 'cp1251',
11 'windows_1251' : 'cp1251',
13 # cp1252 codec
14 @@ -233,6 +234,7 @@ aliases = {
15 'u_jis' : 'euc_jp',
17 # euc_kr codec
18 + '5601' : 'euc_kr',
19 'euckr' : 'euc_kr',
20 'korean' : 'euc_kr',
21 'ksc5601' : 'euc_kr',
22 @@ -480,6 +482,7 @@ aliases = {
23 'shiftjis' : 'shift_jis',
24 'sjis' : 'shift_jis',
25 's_jis' : 'shift_jis',
26 + 'pck' : 'shift_jis',
28 # shift_jis_2004 codec
29 'shiftjis2004' : 'shift_jis_2004',
30 @@ -499,6 +502,7 @@ aliases = {
31 'tis_620_0' : 'tis_620',
32 'tis_620_2529_0' : 'tis_620',
33 'tis_620_2529_1' : 'tis_620',
34 + 'tis620.2533' : 'tis_620',
35 'iso_ir_166' : 'tis_620',
37 # utf_16 codec