diff --git a/resources/libs/backup.py b/resources/libs/backup.py index fbfcb0bf..6414277d 100644 --- a/resources/libs/backup.py +++ b/resources/libs/backup.py @@ -430,7 +430,7 @@ def _backup_info(self, name, extractsize, programs, video, music, picture, repos _skin = xbmcaddon.Addon(_skin_id) _skin_name = xbmcvfs.translatePath(_skin.getAddonInfo('name')) - with open(temp_txt, 'w') as f: + with open(temp_txt, 'w', encoding="utf-8") as f: f.write('name="{0}"\n'.format(name)) f.write('extracted="{0}"\n'.format(extractsize)) f.write('zipsize="{0}"\n'.format(os.path.getsize(backup_zip)))