diff --git a/bytebeat_compiler.py b/bytebeat_compiler.py index b5399a8..4c98bed 100644 --- a/bytebeat_compiler.py +++ b/bytebeat_compiler.py @@ -48,7 +48,7 @@ def read_file(path: str) -> str: return open(path, "r", encoding="utf-8-sig").read() def rewrite_file(path: str, content: str): - return open(path, "w", encoding="utf-8-sig").write(content) + return open(path, "w", encoding="utf-8").write(content) def read_from_file_or_stdin(path: str) -> str: if path == "-":