Issue #25047: Respect case writing XML encoding declarations
This restores the ability to write encoding names in uppercase like "UTF-8", which worked in Python 2.
M
Martin Panter committed
89f76d3f913e0527fbcc0d15cb3c17fbf6ca8618
Parent: f94471c