code: def unicoder(p):
      
      if isinstance(p, unicode):
          return p
      if isinstance(p, str):
          return decoder(p)
      else:
          return unicode(decoder(p))
docs: Make sure a Unicode string is returned