code: def _transcoding(cls, data):
          
          if not data:
              return data
  
          result = None
          if isinstance(data, str) and hasattr(data, 'decode'):
              result = data.decode('utf-8')
          else:
              result = data
          return result
docs: 编码转换
          :param data: 需要转换的数据
          :return: 转换好的数据