diff --git a/creapy/utils/helpers.py b/creapy/utils/helpers.py index 320ada1bb9a7790d6dc16eb13665dc81eb5b5092..7fa9eea1e7a4c2aa89ac63374624952cadbcc585 100644 --- a/creapy/utils/helpers.py +++ b/creapy/utils/helpers.py @@ -140,7 +140,7 @@ def intervals_to_textgrid(intervals: list[tgt.core.Interval], textgrid.add_tier(interval_tier) - tgt.io.write_to_file(textgrid, result_path) + tgt.io.write_to_file(textgrid, result_path, encoding="utf-8") if verbose: print(f"Wrote textgrid at {Path(result_path).resolve()}")