SIGN IN SIGN UP

gh-91810: ElementTree: Use text file's encoding by default in XML declaration (GH-91903)

ElementTree method write() and function tostring() now use the text file's
encoding ("UTF-8" if not available) instead of locale encoding in XML
declaration when encoding="unicode" is specified.
S
Serhiy Storchaka committed
707839b0fe02ba2c891a40f40e7a869d84c2c9c5
Parent: 75e4634
Committed by GitHub <noreply@github.com> on 5/11/2022, 6:31:07 AM