blob: 662b0f62e3a166843b66633b541dee3c26501cf4 (
plain)
1
2
3
4
5
6
7
8
|
import System.Process
testUnicode :: String -> IO String
testUnicode str = readProcess "printf" ["%s", str] ""
main = do
testUnicode "It works here" >>= putStrLn
testUnicode "А здесь сломалось" >>= putStrLn
|