commit | 689a55809818a846d2733241642572840d20570b | [log] [tgz] |
---|---|---|
author | Benjamin Peterson <benjamin@python.org> | Thu Mar 18 22:29:52 2010 +0000 |
committer | Benjamin Peterson <benjamin@python.org> | Thu Mar 18 22:29:52 2010 +0000 |
tree | 3df23660fca4efa2d5833188fbc26ac6ee25bdc2 | |
parent | 8c8042734aa4500db9072ef56548b544d881b5b1 [diff] [blame] |
in tokenize.detect_encoding(), return utf-8-sig when a BOM is found
diff --git a/Misc/NEWS b/Misc/NEWS index 01c37ce..f1b068b 100644 --- a/Misc/NEWS +++ b/Misc/NEWS
@@ -283,6 +283,9 @@ Library ------- +- ``tokenize.detect_encoding`` now returns ``'utf-8-sig'`` when a UTF-8 BOM is + detected. + - Issue #8024: Update the Unicode database to 5.2. - Issue #6716/2: Backslash-replace error output in compilall.