mirror of
https://github.com/RolandWH/SIPPCompare.git
synced 2025-03-14 22:01:36 +00:00
open results file with utf-8 encoding
This commit is contained in:
parent
1f132da9b6
commit
142906b39c
@ -24,7 +24,7 @@ class OutputWindow(QWidget):
|
||||
if not os.path.exists("output"):
|
||||
os.makedirs("output")
|
||||
filename_str = f"output/{self.platform_name}-{cur_time.year}.{cur_time.month}.{cur_time.day}.txt"
|
||||
output_file = open(filename_str, "wt")
|
||||
output_file = open(filename_str, "wt", encoding = "utf-8")
|
||||
output_file.write(self.results_str)
|
||||
|
||||
# Display fees in output window as plaintext readout
|
||||
|
Loading…
x
Reference in New Issue
Block a user