Skip to content

Commit

Permalink
Merge pull request #1296 from jvoigtlaender/patch-2
Browse files Browse the repository at this point in the history
Set locale appropriately
  • Loading branch information
process-bot committed Apr 28, 2016
2 parents ec69a6c + a691999 commit 5643770
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/CommandLineRouter.hs
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ import qualified System.Environment as Env
import System.Exit (exitWith)
import System.IO (hPutStrLn, stderr, stdin, stdout)
import qualified System.Process as Proc
import GHC.IO.Encoding (setLocaleEncoding, utf8)

import qualified Elm.Compiler.Version as Compiler
import qualified Elm.Package as Pkg

main :: IO ()
main =
do allArgs <- Env.getArgs
do setLocaleEncoding utf8

allArgs <- Env.getArgs
case allArgs of
[] ->
putStrLn usageMessage
Expand Down

0 comments on commit 5643770

Please sign in to comment.