[Haskell-beginners] Cross-platform .hs files on Linux and Windows
Henk-Jan van Tuyl
hjgtuyl at chello.nl
Wed Apr 18 11:49:18 CEST 2012
On Wed, 18 Apr 2012 01:42:16 +0200, Vinay Sajip <vinay_sajip at yahoo.co.uk>
wrote:
> Henk-Jan van Tuyl <hjgtuyl <at> chello.nl> writes:
>
>>
>> But GHC should use/ignore a BOM!
>>
>
> Right, but at least there's an easy workaround. Can you reproduce this
> in your
> environment by prepending a BOM? If so, perhaps an issue should be
> logged.
I've already tried that; if I use Notepad to convert the file to UTF-8,
GHC does not accept the shebang.
Regards,
Henk-Jan van Tuyl
--
http://Van.Tuyl.eu/
http://members.chello.nl/hjgtuyl/tourdemonad.html
Haskell programming
--
More information about the Beginners
mailing list