code: def unicodify(s, encoding="utf8", errors="ignore"):
      # Force conversion to unicode
      if sys.version_info[0] < 3:
          if isinstance(s, unicode):
              return s
          if isinstance(s, str):
              return s.decode(encoding, errors)
          return unicode(s)
      else:
          if type(s) == bytes:
              return s.decode("utf8")
          else:
              return s
  
imports: from __future__ import print_function
  import os
  import re
  import sys
  from collections import Counter
label_desc: Use image node_id 6 for calling a global function with example usage: unicodify(s, encoding, errors) and returns: unicode, s, s, s, s