summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2011-06-30 16:10:14 (GMT)
committerVictor Stinner <victor.stinner@haypocalc.com>2011-06-30 16:10:14 (GMT)
commiteaf399e3355e6d62b1bb5810b66ad4ff431ece57 (patch)
treeb4a5f31f3e966db6fbeb463777956e547aa04545 /Misc
parent12b8d14991d54deedac7d7ca51c7f95006e6a7bc (diff)
downloadcpython-eaf399e3355e6d62b1bb5810b66ad4ff431ece57.zip
cpython-eaf399e3355e6d62b1bb5810b66ad4ff431ece57.tar.gz
cpython-eaf399e3355e6d62b1bb5810b66ad4ff431ece57.tar.bz2
Issue #12451: The XInclude default loader of xml.etree now decodes files from
UTF-8 instead of the locale encoding if the encoding is not specified. It now also opens XML files for the parser in binary mode instead of the text mode to avoid encoding issues.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e6c1293..5fa463a 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -25,6 +25,11 @@ Core and Builtins
Library
-------
+- Issue #12451: The XInclude default loader of xml.etree now decodes files from
+ UTF-8 instead of the locale encoding if the encoding is not specified. It now
+ also opens XML files for the parser in binary mode instead of the text mode
+ to avoid encoding issues.
+
- Issue #12451: doctest.debug_script() doesn't create a temporary file
anymore to avoid encoding issues.