code: def ecu(s):
      if isinstance(s, bytes):
          return s.decode("UTF-8", "replace")
      else:
          return s
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import pprint
  import six
  import _pytest._code
  from ..compat import Sequence
  from _pytest import outcomes
  from _pytest._io.saferepr import saferepr
  from _pytest.compat import ATTRS_EQ_FIELD
label_desc: Use image node_id 1 for calling a global function with example usage: ecu(s) and returns: s, s