Unicode windows console output.

David Sankel camior at gmail.com
Mon Nov 1 22:20:49 EDT 2010


On Mon, Nov 1, 2010 at 10:20 PM, David Sankel <camior at gmail.com> wrote:

> Hello all,
>
> I'm attempting to output some Unicode on the windows console. I set my
> windows console code page to utf-8 using "chcp 65001".
>
> The program:
>
> -- Test.hs
> main = putStr "λ.x→x"
>
>
> The output of `runghc Test.hs`:
>
> λ.x→xxxx
>
>
> From within ghci, typing `main`:
>
> λ*** Exception: <stdout>: hPutChar: permission denied (Permission denied)
>
>
> I suspect both of these outputs are evidence of bugs. Might I be doing
> something wrong? (aside from using windows ;))
>
>
I forgot to mention that I'm using Windows XP with ghc 6.12.3.


-- 
David Sankel
Sankel Software
www.sankelsoftware.com
585 617 4748 (Office)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/glasgow-haskell-users/attachments/20101101/341eafdc/attachment.html


More information about the Glasgow-haskell-users mailing list