@@ -70,7 +70,7 @@ def summarize(path_in: "pathlib.Path", path_out: Optional["pathlib.Path"], ref_a
70
70
path_out = pathlib .Path .cwd ().joinpath (f"{ ref_areas [0 ]} .{{html,odt}}" )
71
71
print (f"Write to { path_out } " )
72
72
report .MetadataSet1HTML (mds , ref_area = ref_areas [0 ]).write_file (
73
- path_out .with_suffix (".html" )
73
+ path_out .with_suffix (".html" ), encoding = "utf-8"
74
74
)
75
75
report .MetadataSet1ODT (mds , ref_area = ref_areas [0 ]).write_file (
76
76
path_out .with_suffix (".odt" )
@@ -82,7 +82,7 @@ def summarize(path_in: "pathlib.Path", path_out: Optional["pathlib.Path"], ref_a
82
82
print (f"Write to { path_out } " )
83
83
report .MetadataSet0ODT (mds ).write_file (path_out .with_suffix (".odt" ))
84
84
report .MetadataSet2HTML (mds , ref_area = ref_areas ).write_file (
85
- path_out .with_suffix (".html" )
85
+ path_out .with_suffix (".html" ), encoding = "utf-8"
86
86
)
87
87
88
88
@@ -115,7 +115,9 @@ def _tuewas_all(path_in):
115
115
print (f"Wrote { path_out [- 1 ]} " )
116
116
117
117
path_out .append (dir_out .joinpath ("Metadata summary table.html" ))
118
- report .MetadataSet2HTML (mds , ref_area = ref_areas ).write_file (path_out [- 1 ])
118
+ report .MetadataSet2HTML (mds , ref_area = ref_areas ).write_file (
119
+ path_out [- 1 ], encoding = "utf-8"
120
+ )
119
121
print (f"Wrote { path_out [- 1 ]} " )
120
122
121
123
path_zip = dir_out .joinpath ("all.zip" )
0 commit comments