fix encoding

This commit is contained in:
Mikan
2025-06-02 14:22:46 +03:00
parent 83cfcd9fb1
commit 4f10dd93c5
5 changed files with 10 additions and 10 deletions

View File

@@ -4,7 +4,7 @@ def read_file(file_path: str) -> str:
"""
Читает содержимое файла.
"""
with open(file_path, "r") as f:
with open(file_path, "r", encoding="utf-8") as f:
return f.read()
def write_file(file_path: str, content: str):