mirror of
https://github.com/simonmichael/hledger.git
synced 2024-11-08 07:09:28 +03:00
handle utf8 properly in error messages (issue #5)
This commit is contained in:
parent
2d8a5950d1
commit
edc0913ed9
3
Utils.hs
3
Utils.hs
@ -11,7 +11,8 @@ import Control.Monad.Error
|
||||
import Ledger
|
||||
import Options (Opt,ledgerFilePathFromOpts,optsToFilterSpec)
|
||||
import System.Directory (doesFileExist)
|
||||
import System.IO
|
||||
import System.IO (stderr)
|
||||
import System.IO.UTF8 (hPutStrLn)
|
||||
import System.Exit
|
||||
import System.Cmd (system)
|
||||
import System.Info (os)
|
||||
|
@ -11,3 +11,4 @@ could not balance this transaction, amounts do not add up to zero:
|
||||
дебит 1
|
||||
кредит -2
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user