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:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user