This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ezio.melotti, ronaldoussoren, serhiy.storchaka, steven.daprano, vstinner, winvinc, xtreak
Date 2018-06-15.14:30:05
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529073005.76.0.947875510639.issue33865@psf.upfronthosting.co.za>
In-reply-to
Content
Why only these code pages? There are other cpXXXX encodings that don't have the XXXX alias.

Maybe add a logic in encodings.search_function() that will map XXXX to cpXXXX if it is all digits? Maybe even map ibmXXXX and windows_XXXX to cpXXXX, but this will create false aliases like ibm1252 and windows_437.
History
Date User Action Args
2018-06-15 14:30:05serhiy.storchakasetrecipients: + serhiy.storchaka, ronaldoussoren, vstinner, ezio.melotti, steven.daprano, winvinc, xtreak
2018-06-15 14:30:05serhiy.storchakasetmessageid: <1529073005.76.0.947875510639.issue33865@psf.upfronthosting.co.za>
2018-06-15 14:30:05serhiy.storchakalinkissue33865 messages
2018-06-15 14:30:05serhiy.storchakacreate