Reputation: 269
I'm trying to compile my first haskell program. Have created a simple text file as input for my .hs. But get an error: lexical error (UTF-8 decoding error).
I have seen there is a workaround for windows - set LANG=C
. I'm on mac and next exports doesn't work for me:
export LANG=C
export LANG=en_US.UTF-8
Any suggestions? Thanks
Upvotes: 2
Views: 1906