<div>Hello all,</div><div><br></div>I'm attempting to output some Unicode on the windows console. I set my windows console code page to utf-8 using "chcp 65001".<div><br></div><div>The program:</div><div><br>
</div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>-- Test.hs</div><div>main = putStr "λ.x→x"</div></div></blockquote><div><br></div><div>The output of `runghc Test.hs`:</div>
<div><br></div><blockquote class="webkit-indent-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 class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div>λ*** Exception: <stdout>: 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><div>TIA,</div><div><br></div><div>David</div><div><br></div><div>-- <br>David Sankel<br>
Sankel Software<br><a href="http://www.sankelsoftware.com">www.sankelsoftware.com</a><br>585 617 4748 (Office)<br>
</div>