From: Marc-André Lemburg Date: Tue, 22 May 2001 08:58:23 +0000 (+0000) Subject: Added NEWS item for the UTF-16 change. X-Git-Tag: v2.2a3~1717 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=12e74b3cf2019aec843a5ab2208247c8585c7965;p=thirdparty%2FPython%2Fcpython.git Added NEWS item for the UTF-16 change. --- diff --git a/Misc/NEWS b/Misc/NEWS index 44cf065d2f93..c11bf0858c6a 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.