[Haskell-beginners] Cross-platform .hs files on Linux and Windows

Vinay Sajip vinay_sajip at yahoo.co.uk
Tue Apr 17 22:56:23 CEST 2012

> Perhaps it's a Windows 7 issue, or a 32-bit vs. 64-bit issue. I'll try on a
> different Windows 7 machine.

Actually, I face-palmed when I found what the problem was. On the 64-bit
machine, because I was short of disk space, I hadn't installed a proper editor,
and used Notepad. Of course, Notepad sticks a UTF-8 BOM at the start of the file
... removing that sorted out the problem :-)


Vinay Sajip

More information about the Beginners mailing list