cpython/Misc/NEWS.d/next/Core and Builtins/2019-08-20-04-36-37.bpo-377...

2 lines
185 B
ReStructuredText

Fix :func:`codecs.lookup` to normalize the encoding name the same way than :func:`encodings.normalize_encoding`, except that :func:`codecs.lookup` also converts the name to lower case.