
16 Sep
2007
16 Sep
'07
4:29 p.m.
Wagner Ferenc
David Schonberger
writes: 'ghc -o hello hello.hs' and received the following error: hello.hs:1:0 lexical error at character '\65279'.
See http://en.wikipedia.org/wiki/Byte_Order_Mark Somehow you'll have to persuade you editor not to use the BOM, or make GHC accept it... Neither of which I can help you.
Or one thing, after all: since your source is pure ASCII, don't save is as UTF-8. 7-bit ASCII and UTF-8 are compatible. -- Feri.