Skip to content

Commit 9455dd4

Browse files
authored
Merge branch 'main' into maintain/2-0-remove-deprecations
2 parents f5e326b + c80f22e commit 9455dd4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gemd/units/impl.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
def _deploy_default_files() -> str:
3131
"""Copy the units & constants file into a temporary directory."""
3232
units_path = Path(_TEMP_DIRECTORY.name) / "citrine_en.txt"
33-
units_path.write_text(read_text("gemd.units", "citrine_en.txt"))
33+
units_path.write_text(read_text("gemd.units", "citrine_en.txt"), encoding="utf-8")
3434

3535
constants_path = Path(_TEMP_DIRECTORY.name) / "constants_en.txt"
36-
constants_path.write_text(read_text("gemd.units", "constants_en.txt"))
36+
constants_path.write_text(read_text("gemd.units", "constants_en.txt"), encoding="utf-8")
3737

3838
return str(units_path)
3939

0 commit comments

Comments
 (0)