[GHC] #4471: Incorrect Unicode output on Windows Console
GHC
cvs-ghc at haskell.org
Fri Nov 5 09:34:16 EDT 2010
#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
More information about the Glasgow-haskell-bugs
mailing list