Skip to content

Commit 0884816

Browse files
committed
fix(bg3): write modsettings backup as utf-8
1 parent 1ff1ee4 commit 0884816

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

games/baldursgate3/bg3_utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,8 @@ def retrieve_mod_metadata_in_new_thread(mod: mobase.IModInterface):
250250
if mod.name() in metadata
251251
)
252252
+ self._mod_settings_xml_end
253-
)
253+
),
254+
encoding="utf-8",
254255
)
255256
qInfo(
256257
f"backing up generated file {self.modsettings_path} to {self.modsettings_backup}, "

0 commit comments

Comments
 (0)