summaryrefslogtreecommitdiffstats
path: root/Lib/encodings/utf_16.py
Commit message (Collapse)AuthorAgeFilesLines
* This patch by Martin v. Loewis changes the UTF-16 codec to onlyMarc-André Lemburg2001-06-191-3/+33
| | | | | | | | | | | write a BOM at the start of the stream and also to only read it as BOM at the start of a stream. Subsequent reading/writing of BOMs will read/write the BOM as ZWNBSP character. This is in sync with the Unicode specifications. Note that UTF-16 files will now *have* to start with a BOM mark in order to be readable by the codec.
* Marc-Andre Lemburg: Unicode encodings.Guido van Rossum2000-03-101-0/+31