diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2022-05-11 06:31:07 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-11 06:31:07 (GMT) |
commit | 707839b0fe02ba2c891a40f40e7a869d84c2c9c5 (patch) | |
tree | 862f7d27088ea23ecaa6da2a53b028b388ea1d9f /Lib/xml/dom | |
parent | 75e463430efcb5b20efa93f9a5d98ccd03d83a3d (diff) | |
download | cpython-707839b0fe02ba2c891a40f40e7a869d84c2c9c5.zip cpython-707839b0fe02ba2c891a40f40e7a869d84c2c9c5.tar.gz cpython-707839b0fe02ba2c891a40f40e7a869d84c2c9c5.tar.bz2 |
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.
Diffstat (limited to 'Lib/xml/dom')
0 files changed, 0 insertions, 0 deletions