Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75c9e83 commit 7797be7Copy full SHA for 7797be7
1 file changed
Lib/encodings/aliases.py
@@ -393,11 +393,18 @@
393
'cskoi8r' : 'koi8_r',
394
395
# latin_1 codec
396
+ #
397
+ # Note that the latin_1 codec is implemented internally in C and a
398
+ # lot faster than the charmap codec iso8859_1 which uses the same
399
+ # encoding. This is why we discourage the use of the iso8859_1
400
+ # codec and alias it to latin_1 instead.
401
402
'8859' : 'latin_1',
403
'cp819' : 'latin_1',
404
'csisolatin1' : 'latin_1',
405
'ibm819' : 'latin_1',
406
'iso8859' : 'latin_1',
407
+ 'iso8859_1' : 'latin_1',
408
'iso_8859_1' : 'latin_1',
409
'iso_8859_1_1987' : 'latin_1',
410
'iso_ir_100' : 'latin_1',
0 commit comments