Skip to content

Commit aa24eb9

Browse files
Update packages/bigframes/scripts/bigquery_generator/file_generator.py
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
1 parent 4fd77b8 commit aa24eb9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/bigframes/scripts/bigquery_generator/file_generator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def _write_file(content: str, output_file: pathlib.Path, limit_dir: pathlib.Path
3838
output_file.parent.mkdir(parents=True, exist_ok=True)
3939
_ensure_init_py(output_file.parent, limit_dir)
4040

41-
with open(output_file, "w") as f:
41+
with open(output_file, "w", encoding="utf-8") as f:
4242
f.write(content)
4343
print(f" Generated {output_file}")
4444

0 commit comments

Comments
 (0)