mirror of
https://github.com/jgm/pandoc.git
synced 2026-09-21 13:51:29 +08:00
Add TODO comment.
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user