code: def any2unicode(text, encoding='utf8', errors='strict'):
      
      if isinstance(text, unicode):
          return text
      return unicode(text, encoding, errors=errors)
docs: Convert a string (bytestring in `encoding` or unicode), to unicode.