]> granicus.if.org Git - python/commit
Add constants BOM_UTF8, BOM_UTF16, BOM_UTF16_LE, BOM_UTF16_BE,
authorWalter Dörwald <walter@livinglogic.de>
Tue, 4 Jun 2002 15:16:29 +0000 (15:16 +0000)
committerWalter Dörwald <walter@livinglogic.de>
Tue, 4 Jun 2002 15:16:29 +0000 (15:16 +0000)
commit474458da4894b542ff63fb8eaafeaefad7744005
tree6fdffec2184e0680da735a75281529ec429a7267
parentbc48826dc2fdcf53a837dbf6c35eff4ab69d08bf
Add constants BOM_UTF8, BOM_UTF16, BOM_UTF16_LE, BOM_UTF16_BE,
BOM_UTF32, BOM_UTF32_LE and BOM_UTF32_BE that represent the Byte
Order Mark in UTF-8, UTF-16 and UTF-32 encodings for little and
big endian systems.

The old names BOM32_* and BOM64_* were off by a factor of 2.

This closes SF bug http://www.python.org/sf/555360
Doc/lib/libcodecs.tex
Lib/codecs.py
Misc/NEWS