ghc 6.12 dropped individual utf8-string packages, since most of its functions are implemented in stock modules. In particular, System.Environment.UTF8 no longer exists.
But for me the following does not work if it argis a non-ascii string:
import System.Environment
main = do
[arg] <- getArgs
putStrLn arg
I get garbage on my terminal.
sacha source
share