mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-03 17:59:46 +02:00
Fix export unicode comments
Current script make 1 character for each byte in comment line. So it`s cause double length and incorrect chars in international comments from IDA in Ghidra. This small patch fix it.
This commit is contained in:
parent
eaf6ab250d
commit
d90a600b88
1 changed files with 1 additions and 1 deletions
|
@ -632,7 +632,7 @@ class XmlExporter(IdaXml):
|
||||||
# tag_remove seems to be losing last character
|
# tag_remove seems to be losing last character
|
||||||
# work around is to add a space
|
# work around is to add a space
|
||||||
cmt_text = ida_lines.tag_remove(cmt + ' ')
|
cmt_text = ida_lines.tag_remove(cmt + ' ')
|
||||||
self.write_text(cmt_text)
|
self.write_text(cmt_text.decode('utf-8'))
|
||||||
self.end_element(COMMENT, False)
|
self.end_element(COMMENT, False)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue