Closed WhatisRT closed 6 years ago
What happens if you set
export LANG=C.UTF8
before building?
I still get the same error
The problem usually stems from using a non-utf8 locale. Is your ubuntu image maybe very bare? Maybe install the Ubuntu package locales-all
?
@nomeata It's likely the ellipsis on this line
and/or the accent on a
on this line
and likely happy
doesn't follow https://www.snoyman.com/blog/2016/12/beware-of-readfile
With the help of @nh2 we found out that installing locales-all
and setting LANG
to en_US.utf8
solves the problem in this case. Thanks everybody!
@nomeata We should also probably fix that in happy
.
I can also confirm that after the latest commit, it works without installing and setting the locale.
While building hs-to-coq on an ubuntu image, I encountered the following error:
The error
hGetContents: invalid argument (invalid byte sequence)
pops up with other Haskell projects and seems to imply that a wrong encoding is used. The exact same commit builds fine on my mac.