Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 12e74b3

Browse files
committed
Added NEWS item for the UTF-16 change.
1 parent bd695a7 commit 12e74b3

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

Misc/NEWS

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ What's New in Python 2.2a0?
33

44
Core
55

6+
- The UTF-16 codec was modified to be more RFC compliant. It will now
7+
only remove BOM characters at the start of the string and then
8+
only if running in native mode (UTF-16-LE and -BE won't remove a
9+
leading BMO character).
10+
611
- Strings now have a new method .decode() to complement the already
712
existing .encode() method. These two methods provide direct access
813
to the corresponding decoders and encoders of the registered codecs.

0 commit comments

Comments
 (0)