code: def __init__(self, encoding, encoding_errors, decode_responses):
      self.encoding = encoding
      self.encoding_errors = encoding_errors
      self.decode_responses = decode_responses
  
imports: from ..exceptions import DataError
label_desc: Use image node_id 1 to create a new Encoder object  with example: obj = Encoder(encoding, encoding_errors, decode_responses)