mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-06 04:35:00 +00:00
Added hint to Use --encoding to set the unicode encoding.
This commit is contained in:
parent
e7692fc9d1
commit
1f07de8670
1 changed files with 1 additions and 0 deletions
|
@ -148,6 +148,7 @@ class InputOutput:
|
||||||
return
|
return
|
||||||
except UnicodeError as e:
|
except UnicodeError as e:
|
||||||
self.tool_error(f"{filename}: {e}")
|
self.tool_error(f"{filename}: {e}")
|
||||||
|
self.tool_error("Use --encoding to set the unicode encoding.")
|
||||||
return
|
return
|
||||||
|
|
||||||
def write_text(self, filename, content):
|
def write_text(self, filename, content):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue