cpython/Lib/encodings
Marc-André Lemburg 92b550cdd8 This patch by Martin v. Loewis changes the UTF-16 codec to only
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.
2001-06-19 20:07:51 +00:00
..
__init__.py Changed .getaliases() support to register the new aliases in the 2000-12-12 14:45:35 +00:00
aliases.py Patch #429957: Add support for cp1140, which is identical to cp037, 2001-06-07 19:39:25 +00:00
ascii.py Marc-Andre Lemburg: Unicode encodings. 2000-03-10 23:17:24 +00:00
base64_codec.py This patch changes the way the string .encode() method works slightly 2001-05-15 12:00:02 +00:00
charmap.py Marc-Andre Lemburg: Unicode encodings. 2000-03-10 23:17:24 +00:00
cp037.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp424.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp437.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp500.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp737.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp775.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp850.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp852.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp855.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp856.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp857.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp860.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp861.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp862.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp863.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp864.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp865.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp866.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp869.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp874.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp875.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp1006.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp1026.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp1140.py Patch #429957: Add support for cp1140, which is identical to cp037, 2001-06-07 19:39:25 +00:00
cp1250.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp1251.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp1252.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp1253.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp1254.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp1255.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp1256.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp1257.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
cp1258.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
hex_codec.py This patch changes the way the string .encode() method works slightly 2001-05-15 12:00:02 +00:00
iso8859_1.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
iso8859_2.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
iso8859_3.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
iso8859_4.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
iso8859_5.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
iso8859_6.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
iso8859_7.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
iso8859_8.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
iso8859_9.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
iso8859_10.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
iso8859_13.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
iso8859_14.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
iso8859_15.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
koi8_r.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
latin_1.py Marc-Andre Lemburg: Unicode encodings. 2000-03-10 23:17:24 +00:00
mac_cyrillic.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
mac_greek.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
mac_iceland.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
mac_latin2.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
mac_roman.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
mac_turkish.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
mbcs.py Marc-Andre Lemburg: 2000-03-28 20:29:59 +00:00
quopri_codec.py Add quoted-printable codec 2001-05-15 15:34:07 +00:00
raw_unicode_escape.py Marc-Andre Lemburg: Unicode encodings. 2000-03-10 23:17:24 +00:00
rot_13.py Moved the encoding map building logic from the individual mapping 2001-05-16 09:41:45 +00:00
undefined.py New codec which always raises an exception when used. This 2000-06-07 09:04:05 +00:00
unicode_escape.py Marc-Andre Lemburg: Unicode encodings. 2000-03-10 23:17:24 +00:00
unicode_internal.py Marc-Andre Lemburg: Unicode encodings. 2000-03-10 23:17:24 +00:00
utf_8.py Marc-Andre Lemburg: Unicode encodings. 2000-03-10 23:17:24 +00:00
utf_16.py This patch by Martin v. Loewis changes the UTF-16 codec to only 2001-06-19 20:07:51 +00:00
utf_16_be.py Marc-Andre Lemburg: Unicode encodings. 2000-03-10 23:17:24 +00:00
utf_16_le.py Marc-Andre Lemburg: Unicode encodings. 2000-03-10 23:17:24 +00:00
uu_codec.py This patch changes the way the string .encode() method works slightly 2001-05-15 12:00:02 +00:00
zlib_codec.py This patch changes the way the string .encode() method works slightly 2001-05-15 12:00:02 +00:00