Skip to content

"MultiByteToWideChar: The parameter is incorrect." when pressing enter in ghci

In a cmd or a cygwin shell, but not when SSHed into cygwin from a Linux machine, pressing enter in ghci causes this:

C:\ghc\ghc-6.8.1.20071125\bin>.\ghci
GHCi, version 6.8.1.20071125: http://www.haskell.org/ghc/  :? for help
Loading package base ... linking ... done.
Prelude>
user error (MultiByteToWideChar: The parameter is incorrect.
 (error code: 57))

C:\ghc\ghc-6.8.1.20071125\bin>

This doesn't happen in 6.8.1.

Trac metadata
Trac field Value
Version 6.8
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component GHCi
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system Unknown
Architecture Unknown
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information