summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Misc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 44cf065d2f..c11bf0858c 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -3,6 +3,11 @@ What's New in Python 2.2a0?
Core
+- The UTF-16 codec was modified to be more RFC compliant. It will now
+ only remove BOM characters at the start of the string and then
+ only if running in native mode (UTF-16-LE and -BE won't remove a
+ leading BMO character).
+
- Strings now have a new method .decode() to complement the already
existing .encode() method. These two methods provide direct access
to the corresponding decoders and encoders of the registered codecs.