Ticket #3865 (closed bug: invalid)
On amd64, reading attached file gives "hGetContents: invalid argument (Invalid or incomplete multibyte or wide character)"
|Reported by:||dsf||Owned by:|
|Operating System:||Linux||Architecture:||x86_64 (amd64)|
|Type of failure:||None/Unknown||Difficulty:|
|Test Case:||Blocked By:|
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.