'Creates an IncrementalEncoder instance.
The IncrementalEncoder may use different error handling schemes by
providing the errors keyword argument. See the module docstring
for a list of possible values.'

def __init__(self, errors='strict'):

    self.errors = errors
    self.buffer = ''
