From 87ef69fa62ef752cbb52c98591ac056f98fe7aaa Mon Sep 17 00:00:00 2001 From: nayishan Date: Wed, 20 May 2026 06:47:38 +0800 Subject: [PATCH] Fix unicode error name in pretty output warning --- aider/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/main.py b/aider/main.py index afb3f836624..1b45b81b025 100644 --- a/aider/main.py +++ b/aider/main.py @@ -584,7 +584,7 @@ def get_io(pretty): if not io.pretty: raise err io = get_io(False) - io.tool_warning("Terminal does not support pretty output (UnicodeDecodeError)") + io.tool_warning("Terminal does not support pretty output (UnicodeEncodeError)") # Process any environment variables set via --set-env if args.set_env: