mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
use utf-8
This commit is contained in:
parent
7542449629
commit
ca45db2898
1 changed files with 2 additions and 2 deletions
|
@ -11,10 +11,10 @@ def main():
|
||||||
|
|
||||||
file_orig, file_updated = sys.argv[1], sys.argv[2]
|
file_orig, file_updated = sys.argv[1], sys.argv[2]
|
||||||
|
|
||||||
with open(file_orig, "r") as f:
|
with open(file_orig, "r", encoding="utf-8") as f:
|
||||||
lines_orig = f.readlines()
|
lines_orig = f.readlines()
|
||||||
|
|
||||||
with open(file_updated, "r") as f:
|
with open(file_updated, "r", encoding="utf-8") as f:
|
||||||
lines_updated = f.readlines()
|
lines_updated = f.readlines()
|
||||||
|
|
||||||
for i in range(len(file_updated)):
|
for i in range(len(file_updated)):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue