codecs.xmlcharrefreplace_errors(exception) Implements the 'xmlcharrefreplace' error handling (for encoding with
codecs.getencoder(encoding) Look up the codec for the given encoding and return its encoder function. Raises
decode(object[, final]) Decodes object (taking the current state of the decoder into account) and returns the resulting
streamwriter streamreader Stream writer and reader classes or factory functions. These have to provide the interface
codecs.decode(obj, encoding='utf-8', errors='strict') Decodes obj using the codec registered for encoding
decode The stateless encoding and decoding functions. These must be functions or methods which have the same interface as the
codecs.backslashreplace_errors(exception) Implements the 'backslashreplace' error handling (for
reset() Resets the codec buffers used for keeping state. Note that no stream repositioning should
codecs.getreader(encoding) Look up the codec for the given encoding and return its StreamReader class or factory
write(object) Writes the object’s contents encoded to the stream.
Page 4 of 8