@classmethod<EOL><INDENT>def _transcoding(cls, data):<DEDENT>
if not data:<EOL><INDENT>return data<EOL><DEDENT>result = None<EOL>if isinstance(data, str) and hasattr(data, '<STR_LIT>'):<EOL><INDENT>result = data.decode('<STR_LIT:utf-8>')<EOL><DEDENT>else:<EOL><INDENT>result = data<EOL><DEDENT>return result<EOL>
编码转换
        :param data: 需要转换的数据
        :return: 转换好的数据