I&#39;ve tested haskell on CJK system. For CJK characters, the IO can work great on file, but awfully on console. I think it is the matter from Winodws.<br>We can not set utf8 on Windows like linux, instead of that they use code page. It looks that greek characters doesnot support on your system. You shall turn on the support in Console Panel/Regional and Language Options.<br>
Sorry for my english, it&#39;s not great.<br><br>On Tue, Aug 17, 2010 at 2:57 AM, Pepe Gallardo <span dir="ltr">&lt;<a href="mailto:pepe.haskell@gmail.com">pepe.haskell@gmail.com</a>&gt;</span> wrote:<br><div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div>Using the latest version (WinGHCi 1.0.6) and GHCi 6.12.3, I get:</div>
<div> </div>
<div><b><font color="#0000af" size="2"><font color="#0000af" size="2">
<p>Prelude&gt;</p></font></font></b><font size="2"> putStrLn &quot;ß&quot;</font><div class="im">
<p><font size="2">ß</font></p><b><font color="#0000af" size="2"><font color="#0000af" size="2">
<p>Prelude&gt;</p></font></font></b><font size="2"> print &quot;ß&quot;
<p>&quot;\223&quot;</p></font><b><font color="#0000af" size="2"><font color="#0000af" size="2">
<p>Prelude&gt;</p></font></font></b></div><font size="2"> putStr &quot;</font><font face="Arial" size="2"><font face="Arial" size="2">αγδ&quot;</font></font><font size="2">
<p>*** Exception: &lt;stdout&gt;: hPutChar: invalid argument (character is not in the code page)</p></font></div>
<div><br>and this is consistent with output I get when using GHCi on a console on Windows.</div>
<div> </div>
<div><br> </div>
<div>Cheers,</div>
<div>Pepe</div>
<div> </div>
<div class="gmail_quote">2010/8/13 Henk-Jan van Tuyl <span dir="ltr">&lt;<a href="mailto:hjgtuyl@chello.nl" target="_blank">hjgtuyl@chello.nl</a>&gt;</span><div><div></div><div class="h5"><br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;" class="gmail_quote"><br>L.S.,<br><br>When I try<br> putStrLn &quot;ß&quot;<br>(Eszett (sharp S)) in WinGhci, the interpreter seems to have disappeared; ctrl-C gives the message &quot;Interrupted&quot; in a separate window, but no new prompt. When I start GHCi in a shell, the interpreter displays:<br>

 Prelude&gt; print &quot;ß&quot;<br> &quot;\223&quot;<br><br>Is this a known issue?<br><br>Other experiments with WinGhci:<br> &gt;print &quot;αγδ&quot;<br> &quot;a?d&quot;<br>(Trying to print alpha, gamma, delta.)<br><br>

 &gt;print &quot;β&quot;<br>(Trying to print beta) interpreter hangs again.<br><br>Details:<br> - WinGhci 1.0.2<br> - GHCi, version 6.12.3<br> - Windows XP<br><br>Regards,<br>Henk-Jan van Tuyl<br><br><br>-- <br><a href="http://van.tuyl.eu/" target="_blank">http://Van.Tuyl.eu/</a><br>

<a href="http://members.chello.nl/hjgtuyl/tourdemonad.html" target="_blank">http://members.chello.nl/hjgtuyl/tourdemonad.html</a><br><font color="#888888">--<br>_______________________________________________<br>Haskell-Cafe mailing list<br>

<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br><a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>

</font></blockquote></div></div></div><br>
<br>_______________________________________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/mailman/listinfo/haskell-cafe</a><br>
<br></blockquote></div><br>