Is there a ghc &quot;wontfix&quot; bug ticket for this? Perhaps we can make a small C test case and send it to the Microsoft people. Some[1] are reporting success with Unicode console output.<div><br></div><div>David<br><div>

<br></div><div>[1] <a href="http://www.codeproject.com/KB/cpp/unicode_console_output.aspx">http://www.codeproject.com/KB/cpp/unicode_console_output.aspx</a><br><br><div class="gmail_quote">On Tue, Nov 2, 2010 at 3:49 AM, Krasimir Angelov <span dir="ltr">&lt;<a href="mailto:kr.angelov@gmail.com">kr.angelov@gmail.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">This is evidence for the broken Unicode support in the Windows<br>
terminal and not a problem with GHC. I experienced the same many<br>
times.<br>
<br>
2010/11/2 David Sankel &lt;<a href="mailto:camior@gmail.com">camior@gmail.com</a>&gt;:<br>
<div><div></div><div class="h5">&gt;<br>
&gt; On Mon, Nov 1, 2010 at 10:20 PM, David Sankel &lt;<a href="mailto:camior@gmail.com">camior@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Hello all,<br>
&gt;&gt; I&#39;m attempting to output some Unicode on the windows console. I set my<br>
&gt;&gt; windows console code page to utf-8 using &quot;chcp 65001&quot;.<br>
&gt;&gt; The program:<br>
&gt;&gt;<br>
&gt;&gt; -- Test.hs<br>
&gt;&gt; main = putStr &quot;λ.x→x&quot;<br>
&gt;&gt;<br>
&gt;&gt; The output of `runghc Test.hs`:<br>
&gt;&gt;<br>
&gt;&gt; λ.x→xxxx<br>
&gt;&gt;<br>
&gt;&gt; From within ghci, typing `main`:<br>
&gt;&gt;<br>
&gt;&gt; λ*** Exception: &lt;stdout&gt;: hPutChar: permission denied (Permission denied)<br>
&gt;&gt;<br>
&gt;&gt; I suspect both of these outputs are evidence of bugs. Might I be doing<br>
&gt;&gt; something wrong? (aside from using windows ;))<br>
&gt;<br>
&gt; I forgot to mention that I&#39;m using Windows XP with ghc 6.12.3.<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; David Sankel<br>
&gt; Sankel Software<br>
&gt; <a href="http://www.sankelsoftware.com" target="_blank">www.sankelsoftware.com</a><br>
&gt; 585 617 4748 (Office)<br>
&gt;<br>
</div></div>&gt; _______________________________________________<br>
&gt; Glasgow-haskell-users mailing list<br>
&gt; <a href="mailto:Glasgow-haskell-users@haskell.org">Glasgow-haskell-users@haskell.org</a><br>
&gt; <a href="http://www.haskell.org/mailman/listinfo/glasgow-haskell-users" target="_blank">http://www.haskell.org/mailman/listinfo/glasgow-haskell-users</a><br>
&gt;<br>
&gt;<br>
</blockquote></div><br><br clear="all"><br>-- <br>David Sankel<br>Sankel Software<br><a href="http://www.sankelsoftware.com">www.sankelsoftware.com</a><br>585 617 4748 (Office)<br>
</div></div>