parameters: (self, encoding, errors='replace')
docstring: set encoding for received data
docstring_summary: set encoding for received data
docstring_tokens: set encoding for received data
function: def set_rx_encoding(self, encoding, errors='replace'):
          """set encoding for received data"""
          self.input_encoding = encoding
          self.rx_decoder = codecs.getincrementaldecoder(encoding)(errors)
function_tokens: def set_rx_encoding ( self , encoding , errors = 'replace' ) : self . input_encoding = encoding self . rx_decoder = codecs . getincrementaldecoder ( encoding ) ( errors )