Skip to content

Commit 13cb8c1

Browse files
Fix export encoding to UTF-8 (#554)
Co-authored-by: Ivan Milinović <[email protected]>
1 parent fefc152 commit 13cb8c1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/export_util.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -796,7 +796,7 @@ def header_path(path: str):
796796

797797

798798
def write_file(path: str, delimiter: str, quoting_type: str, data: mgp.Any) -> None:
799-
with open(path, "w") as file:
799+
with open(path, "w", encoding="utf-8") as file:
800800
writer = csv.writer(
801801
file, delimiter=delimiter, quoting=quoting_type, escapechar="\\"
802802
)

0 commit comments

Comments
 (0)