code: def encode_noop(msg):
      
      # Well, not quite *nothing*: in Python3 we have to turn bytes into a string
      # in our internal surrogateescaped form in order to keep the model
      # consistent.
      orig = msg.get_payload()
      if not isinstance(orig, str):
          msg.set_payload(orig.decode('ascii', 'surrogateescape'))
docs: Do nothing.