shithub: MicroHs

ref: dc6404d0f5b10bf72b938db0b51b777d82feb7a5
dir: /tests/Unicode.hs/

View raw version
module Unicode(main) where
import Prelude

main :: IO ()
main = do
  putStrLn "abc"
  putStrLn "\xe5\&bc"
  putStrLn "\x402\xa88"
  writeFile "unicode.tst" "\xe5\&bc"
  ustr <- readFile "unicode.tst"
  print $ ustr == "\xe5\&bc"