Message319716
There are certain encodings as I went through the file Lib/encodings/aliases.py where there are all digit items that doesn't correspond to cpXXXX sequence. I think the search function is used not only for encodings that start with 'cp' and thus adding the logic might result in checks for extra cases.
Sample cases :
'936' : 'gbk'
'8859' : 'latin_1'
'646' : 'ascii'
I also have limited knowledge on working through encodings/__init__.py so correct me if I am wrong on the above.
Thanks. |
|
Date |
User |
Action |
Args |
2018-06-16 05:14:56 | xtreak | set | recipients:
+ xtreak, ronaldoussoren, vstinner, ezio.melotti, steven.daprano, serhiy.storchaka, winvinc |
2018-06-16 05:14:55 | xtreak | set | messageid: <1529126095.94.0.56676864532.issue33865@psf.upfronthosting.co.za> |
2018-06-16 05:14:55 | xtreak | link | issue33865 messages |
2018-06-16 05:14:55 | xtreak | create | |
|