<br><div class="gmail_quote">On Mon, Nov 1, 2010 at 10:20 PM, David Sankel <span dir="ltr">&lt;<a href="mailto:camior@gmail.com">camior@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;">

<div>Hello all,</div><div><br></div>I&#39;m attempting to output some Unicode on the windows console. I set my windows console code page to utf-8 using &quot;chcp 65001&quot;.<div><br></div><div>The program:</div><div><br>


</div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div><div>-- Test.hs</div><div>main = putStr &quot;λ.x→x&quot;</div></div></blockquote><div><br></div><div>The output of `runghc Test.hs`:</div>
<div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>λ.x→xxxx</div></blockquote><div><br></div><div>From within ghci, typing `main`:</div><div><br></div>
<blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>λ*** Exception: &lt;stdout&gt;: hPutChar: permission denied (Permission denied)</div></blockquote><div><br></div><div>
I suspect both of these outputs are evidence of bugs. Might I be doing something wrong? (aside from using windows ;))</div><div><br></div></blockquote><div class="gmail_quote"><br></div>I forgot to mention that I&#39;m using Windows XP with ghc 6.12.3.<br>

<div><br></div></div><br>-- <br>David Sankel<br>Sankel Software<br><a href="http://www.sankelsoftware.com">www.sankelsoftware.com</a><br>585 617 4748 (Office)<br>