codecs.replace_errors(exception) Implements the 'replace' error handling (for text
reset() Reset the encoder to the initial state. The output is discarded: call .encode(object, final=True), passing
codecs.getencoder(encoding) Look up the codec for the given encoding and return its encoder function. Raises
IncrementalEncoder.setstate(state) Set the state of the encoder to state. state must be an encoder state returned
streamreader Stream writer and reader classes or factory functions. These have to provide the interface defined by the base
codecs.decode(obj, encoding='utf-8', errors='strict') Decodes obj using the codec registered for encoding
streamwriter streamreader Stream writer and reader classes or factory functions. These have to provide the interface
codecs.backslashreplace_errors(exception) Implements the 'backslashreplace' error handling (for
codecs.getreader(encoding) Look up the codec for the given encoding and return its StreamReader class or factory
codecs.xmlcharrefreplace_errors(exception) Implements the 'xmlcharrefreplace' error handling (for encoding with
Page 3 of 8