[GHC] #12869: getChar doesn't work on a new Windows build
GHC
ghc-devs at haskell.org
Tue Nov 22 13:34:53 UTC 2016
#12869: getChar doesn't work on a new Windows build
-------------------------------------+-------------------------------------
Reporter: Darwin226 | Owner:
Type: bug | Status: new
Priority: normal | Milestone:
Component: Runtime | Version: 7.10.3
System |
Keywords: | Operating System: Windows
Architecture: x86_64 | Type of failure: Incorrect result
(amd64) | at runtime
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Rev(s): | Wiki Page:
-------------------------------------+-------------------------------------
Last night I updated my PC to the 14965 Windows insider build. Today I
notice that `getLine` no longer terminates (pressing enter just goes to a
new line), but I'm suspecting that the root cause it that `getChar`
returns `'\NUL'` no mather what is input.
I've tried this both GHCi and in a compiled program.
This is only broken if I set my codepage to 65001 (UTF-8). If I set it to
something like 850 it works as it should.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/12869>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list