Added hint to Use --encoding to set the unicode encoding.

This commit is contained in:
Paul Gauthier 2023-07-17 08:19:21 -03:00
parent e7692fc9d1
commit 1f07de8670

View file

@ -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):