summaryrefslogtreecommitdiffstats
path: root/Lib/encodings/utf_8_sig.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #6213: Implement getstate() and setstate() methods of utf-8-sig andVictor Stinner2010-07-281-3/+9
| | | | utf-16 incremental encoders.
* Fix for #1444: utf_8_sig.StreamReader was (indirectly through decode())Walter Dörwald2007-11-191-5/+11
| | | | | calling codecs.utf_8_decode() with final==True, which falled with incomplete byte sequences. Fix and test by James G. Sack.
* Fix utf-8-sig incremental decoder, which didn't recognise a BOM when theWalter Dörwald2007-04-121-7/+12
| | | | first chunk fed to the decoder started with a BOM, but was longer than 3 bytes.
* Change decode() so that it works with a buffer (i.e. unicode(..., 'utf-8-sig'))Walter Dörwald2006-11-231-1/+1
| | | | SF bug #1601501.
* Fix passing errors to the encoder and decoder functions.Walter Dörwald2006-06-131-2/+2
|
* Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclassWalter Dörwald2006-03-151-2/+45
| | | | | | | of tuple) that provides incremental decoders and encoders (a way to use stateful codecs without the stream API). Functions codecs.getincrementaldecoder() and codecs.getincrementalencoder() have been added.
* Patch #1177307: UTF-8-Sig codec.Martin v. Löwis2006-01-081-0/+57