
Using the latest version (WinGHCi 1.0.6) and GHCi 6.12.3, I get:
*
Prelude>* putStrLn "ß"
ß
*
Prelude>* print "ß"
"\223"
*
Prelude>* putStr "αγδ"
*** Exception: <stdout>: hPutChar: invalid argument (character is not in the
code page)
and this is consistent with output I get when using GHCi on a console on
Windows.
Cheers,
Pepe
2010/8/13 Henk-Jan van Tuyl
L.S.,
When I try putStrLn "ß" (Eszett (sharp S)) in WinGhci, the interpreter seems to have disappeared; ctrl-C gives the message "Interrupted" in a separate window, but no new prompt. When I start GHCi in a shell, the interpreter displays: Prelude> print "ß" "\223"
Is this a known issue?
Other experiments with WinGhci:
print "αγδ" "a?d" (Trying to print alpha, gamma, delta.)
print "β" (Trying to print beta) interpreter hangs again.
Details: - WinGhci 1.0.2 - GHCi, version 6.12.3 - Windows XP
Regards, Henk-Jan van Tuyl
-- http://Van.Tuyl.eu/ http://van.tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html -- _______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe