From 8542d8beba01b72ddbd67e4faba7a0b9fb13e826 Mon Sep 17 00:00:00 2001 From: Simon Michael Date: Thu, 25 Sep 2025 01:28:32 -1000 Subject: [PATCH] imp:errors: improve decode failure wording [#2465] --- hledger-lib/Hledger/Utils/IO.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hledger-lib/Hledger/Utils/IO.hs b/hledger-lib/Hledger/Utils/IO.hs index b8826cdbe..e5982053b 100644 --- a/hledger-lib/Hledger/Utils/IO.hs +++ b/hledger-lib/Hledger/Utils/IO.hs @@ -342,7 +342,7 @@ handleExit = flip catches [ msg = unlines $ [ rstrip $ show ex , "Some text could not be decoded with the system's text encoding, " <> enc - , "(or if CSV rules specified it, the CSV's text encoding)." + , "(or, the text encoding specified by CSV rules)." ] ++ if noencoding then [