#4471: Incorrect Unicode output on Windows Console
-------------------------+--------------------------------------------------
    Reporter:  sankeld   |        Owner:                             
        Type:  bug       |       Status:  new                        
    Priority:  normal    |    Milestone:                             
   Component:  Compiler  |      Version:  6.12.3                     
    Keywords:            |     Testcase:                             
   Blockedby:            |   Difficulty:                             
          Os:  Windows   |     Blocking:                             
Architecture:  x86       |      Failure:  Incorrect result at runtime
-------------------------+--------------------------------------------------

Comment(by sankeld):

 Change to the Greek code page, `chcp 1253`
 test.exe
 {{{
 ∷⇒∀→←⋯⊢
 }}}

 `_setmode` then is a solution only when the console is set to the Unicode
 code page. This seems like an adequate solution for now, no?

 Here is the link for the _setmode documentation:

 http://msdn.microsoft.com/en-us/library/tw4k6df8.aspx

-- 
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/4471#comment:5>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs

Reply via email to