test of Unicode in ghci 6.10.3

1
2
3
4
5
6
7
8
9
10
11
12
13
14
$ ghci
GHCi, version 6.10.3: http://www.haskell.org/ghc/  :? for help
Loading package ghc-prim ... linking ... done.
Loading package integer ... linking ... done.
Loading package base ... linking ... done.
Prelude> :m + System.IO.UTF8
Prelude System.IO.UTF8> System.IO.UTF8.putStr
System.IO.UTF8.putStr    System.IO.UTF8.putStrLn
Prelude System.IO.UTF8> System.IO.UTF8.putStrLn "Привет, мир!"
Loading package syb ... linking ... done.
Loading package base-3.0.3.1 ... linking ... done.
Loading package bytestring-0.9.1.4 ... linking ... done.
Loading package utf8-string-0.3.4 ... linking ... done.
Привет, мир!