From 73b5908825fe60de50848d67f8ca390be58207c2 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Wed, 27 Aug 2025 13:26:33 +0200 Subject: Add TODO comment. --- src/Text/Pandoc/App/Input.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/Text/Pandoc/App/Input.hs b/src/Text/Pandoc/App/Input.hs index 8b027522f..ecb423634 100644 --- a/src/Text/Pandoc/App/Input.hs +++ b/src/Text/Pandoc/App/Input.hs @@ -109,6 +109,9 @@ inputToText convTabs (fp, (bs,mt)) = (toTextM fp bs) (\case PandocUTF8DecodingError{} -> do + -- TODO check for binary file signatures + -- here and exit with an error instead + -- of treating as latin1e.. report $ NotUTF8Encoded (if null fp then "input" -- cgit v1.2.3