1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-20 22:49:01 +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

@@ -93,7 +93,7 @@ import sys
from string import Template
from zenmapCore.Version import *
from zenmapCore.Name import *
with open(sys.argv[1],"r") as f:
with open(sys.argv[1],"r",encoding="utf-8") as f:
sys.stdout.write(Template(f.read()).substitute(
VERSION=VERSION,
APP_WEB_SITE=APP_WEB_SITE,