imp:errors: improve decode failure wording [#2465]

This commit is contained in:
Simon Michael 2025-09-25 01:28:32 -10:00
parent e414446076
commit 8542d8beba

View File

@ -342,7 +342,7 @@ handleExit = flip catches [
msg = unlines $ [ msg = unlines $ [
rstrip $ show ex rstrip $ show ex
, "Some text could not be decoded with the system's text encoding, " <> enc , "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 if noencoding
then [ then [