Ghidra is a software reverse engineering (SRE) framework
Fix non-ASCII characters handing in IDA 6.x exporter
Rafał Harabień3593434f28b0
diff --git a/GhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py b/GhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.pyindex 8e1807e572..9540aba34f 100644--- a/GhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py+++ b/GhidraBuild/IDAPro/Python/6xx/plugins/xmlexp.py@@ -246,7 +246,7 @@ class XmlExporter:elif ch == '\'' : return "'"elif ch == '"' : return """elif ch == '\x7F': return ''- elif ord(ch) > 0x7F: return '&#x' + format((ord(ch),"x")) + ";"+ elif ord(ch) > 0x7F: return '&#x' + format(ord(ch),"x") + ";"return ch