mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
Fix non-ASCII characters handing in IDA 6.x exporter
This commit is contained in:
parent
45927bb9c3
commit
3593434f28
1 changed files with 1 additions and 1 deletions
|
@ -246,7 +246,7 @@ class XmlExporter:
|
||||||
elif ch == '\'' : return "'"
|
elif ch == '\'' : return "'"
|
||||||
elif ch == '"' : return """
|
elif ch == '"' : return """
|
||||||
elif ch == '\x7F': 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
|
return ch
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue