1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-11 02:09:03 +00:00

Ensure UTF-8 encoding used throughout zenmap

This commit is contained in:
dmiller
2024-04-26 17:25:40 +00:00
parent 480803e24a
commit c840e236cb
12 changed files with 48 additions and 36 deletions

View File

@@ -321,5 +321,5 @@ if __name__ == "__main__":
root = reader.get_root()
writer = XMLWriter(open("test.xml", 'w'), root)
writer = XMLWriter(open("test.xml", 'wb'), root)
writer.write()