fix encoding
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user