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 vstinner
Recipients Christian Sarazin, barry, r.david.murray, vstinner
Date 2016-09-12.14:25:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1473690315.8.0.443152070533.issue28101@psf.upfronthosting.co.za>
In-reply-to
Content
> The utf-8 alias should be added to the utf_8 codec block inside aliases.py

Codec names are normalized by encodings.normalize_encoding():

>>> encodings.normalize_encoding(' Utf-8 ')
'Utf_8'

And then converted to lower case, so there is no need to all syntaxes of "utf-8", it already works ;-)

>>> codecs.lookup(' Utf-8 ').name
'utf-8'
History
Date User Action Args
2016-09-12 14:25:15vstinnersetrecipients: + vstinner, barry, r.david.murray, Christian Sarazin
2016-09-12 14:25:15vstinnersetmessageid: <1473690315.8.0.443152070533.issue28101@psf.upfronthosting.co.za>
2016-09-12 14:25:15vstinnerlinkissue28101 messages
2016-09-12 14:25:15vstinnercreate