STINNER Victor added the comment:
> 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
New submission from Christian Sarazin:
The utf-8 alias should be added to the utf_8 codec block inside aliases.py
Thx
Cheers
Christian
--
components: email
messages: 276052
nosy: Christian Sarazin, barry, r.david.murray
priority: normal
severity: normal
status: open
title: Add utf-8 a