ExportÄnderungen

Grafische Oberfläche Änderungen
Keine txt. Dateien mehr sondern nur noch JSON Dateien
This commit is contained in:
2025-08-18 17:49:14 +02:00
parent 64b5814b23
commit e956dcb5af
7 changed files with 457 additions and 411 deletions
+11
View File
@@ -0,0 +1,11 @@
# Einmal-Konverter: storage.py aus cp1252/latin1 nach UTF-8 speichern
src = "storage.py"
raw = open(src, "rb").read()
for enc in ("utf-8", "utf-8-sig", "cp1252", "latin-1"):
try:
text = raw.decode(enc)
break
except UnicodeDecodeError:
continue
open(src, "w", encoding="utf-8", newline="\n").write(text)
print("storage.py nach UTF-8 konvertiert.")