def write(self, text): # Swap out the unprintable characters text = text.decode('ascii', 'replace').encode('ascii', 'replace') # Print to IDA message window _idaapi.msg(text)
def write(self, text): # NB: in case 'text' is Unicode, msg() will decode it # and call umsg() to print it _idaapi.msg(text)
def write(self, text): _idaapi.msg(text.replace("%", "%%"))
def write(self, text): # Swap out the unprintable characters text = text.decode('ascii', 'replace').encode('ascii', 'replace') _idaapi.msg(text.replace("%", "%%"))