On amd64, reading attached file gives "hGetContents: invalid argument (Invalid or incomplete multibyte or wide character)"
This error seems to be related somehow to locale, but it never happens on the i386 so I'm a bit mystified. I had another file which got the error in a build environment that didn't have any files in /usr/lib/locales, but worked when those files were there. The attached file fails whether the files are in /usr/lib/locales or not. Just read it to get the error:
readFile "testinput" >>= putStr
Hopefully it is reproducible out there and isn't related to our build. We are using ghc 6.13-20091231.
Trac metadata
Trac field | Value |
---|---|
Version | 6.13 |
Type | Bug |
TypeOfFailure | OtherFailure |
Priority | normal |
Resolution | Unresolved |
Component | Compiler |
Test case | |
Differential revisions | |
BlockedBy | |
Related | |
Blocking | |
CC | |
Operating system | |
Architecture |