Windows - JSON DB fixes - Forcing utf-8 for json DB read/writes should solve windows saving/loading problems. (#3615 #3611)

This commit is contained in:
dgtlmoon
2025-11-10 11:59:17 +01:00
committed by GitHub
parent d65a2c784d
commit e2b407c6f3
10 changed files with 34 additions and 25 deletions
@@ -280,7 +280,7 @@ class ContentProcessor:
# Sort JSON to avoid false alerts from reordering
try:
content = json.dumps(json.loads(content), sort_keys=True, indent=4)
content = json.dumps(json.loads(content), sort_keys=True, indent=2, ensure_ascii=False)
except Exception:
# Might be malformed JSON, continue anyway
pass