code: def to_unicode(s, encoding=None, errors='strict'):
      
      encoding = encoding or 'utf-8'
  
      if is_unicode(s):
          return s
      elif is_strlike(s):
          return s.decode(encoding, errors)
      else:
          if six.PY2:
              return str(s).decode(encoding, errors)
          else:
              return str(s)
docs: Make unicode string from any value
      :param s:
      :param encoding:
      :param errors:
      :return: unicode