Skip to content

Commit d6a00e3

Browse files
authored
Merge pull request #22 from ssl-hep/fix/utf8-encoding
Fixing #14 encoding
2 parents 1cafec3 + 2bbec9a commit d6a00e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

servicex_analysis_utils/file_peeking.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ def print_structure_from_str(
199199
continue
200200
output_lines.append(f" │ ├── {branch_name} ; dtype: {dtype}")
201201

202-
result_str = "\n".join(output_lines)
202+
result_str = "\n".join(output_lines).encode("utf-8").decode("utf-8")
203203

204204
if save_to_txt:
205205
with open("samples_structure.txt", "w") as f:

0 commit comments

Comments
 (0)