GHC fails to read file with byte-order mark when LANG=C
I've attached a minimal example that causes the problem. Compiling
ByteOrderMark.hs like so fails:
$ LANG=C ghc ByteOrderMark.hs
ByteOrderMark.hs: hLookAhead: invalid argument (invalid byte sequence)
I can reproduce this on x86_64 Linux using GHC 7.10.2 and HEAD.
Note that compiling it without
LANG=C does work.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information