Alias iso8859_1 to latin_1 which is the same encoding, but has
a much faster codec implementation.
This commit is contained in:
parent
75c9e8392e
commit
7797be7b3b
|
@ -393,11 +393,18 @@ aliases = {
|
||||||
'cskoi8r' : 'koi8_r',
|
'cskoi8r' : 'koi8_r',
|
||||||
|
|
||||||
# latin_1 codec
|
# latin_1 codec
|
||||||
|
#
|
||||||
|
# Note that the latin_1 codec is implemented internally in C and a
|
||||||
|
# lot faster than the charmap codec iso8859_1 which uses the same
|
||||||
|
# encoding. This is why we discourage the use of the iso8859_1
|
||||||
|
# codec and alias it to latin_1 instead.
|
||||||
|
#
|
||||||
'8859' : 'latin_1',
|
'8859' : 'latin_1',
|
||||||
'cp819' : 'latin_1',
|
'cp819' : 'latin_1',
|
||||||
'csisolatin1' : 'latin_1',
|
'csisolatin1' : 'latin_1',
|
||||||
'ibm819' : 'latin_1',
|
'ibm819' : 'latin_1',
|
||||||
'iso8859' : 'latin_1',
|
'iso8859' : 'latin_1',
|
||||||
|
'iso8859_1' : 'latin_1',
|
||||||
'iso_8859_1' : 'latin_1',
|
'iso_8859_1' : 'latin_1',
|
||||||
'iso_8859_1_1987' : 'latin_1',
|
'iso_8859_1_1987' : 'latin_1',
|
||||||
'iso_ir_100' : 'latin_1',
|
'iso_ir_100' : 'latin_1',
|
||||||
|
|
Loading…
Reference in New Issue