From 1f07de8670489fa40944148b7214e135d0a05ecf Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 17 Jul 2023 08:19:21 -0300 Subject: [PATCH] Added hint to Use --encoding to set the unicode encoding. --- aider/io.py | 1 + 1 file changed, 1 insertion(+) diff --git a/aider/io.py b/aider/io.py index 086813b61..dee90b78f 100644 --- a/aider/io.py +++ b/aider/io.py @@ -148,6 +148,7 @@ class InputOutput: return except UnicodeError as e: self.tool_error(f"{filename}: {e}") + self.tool_error("Use --encoding to set the unicode encoding.") return def write_text(self, filename, content):