getChar doesn't work on a new Windows build
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.
Trac metadata
Trac field | Value |
---|---|
Version | 7.10.3 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Runtime System |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | simonmar |
Operating system | |
Architecture |