
19 Apr
2012
19 Apr
'12
1:42 p.m.
On Wednesday 18 April 2012, 15:16:52, Vinay Sajip wrote:
Henk-Jan van Tuyl
writes: I've already tried that; if I use Notepad to convert the file to UTF-8, GHC does not accept the shebang.
That's by design. GHC treats a shebang line as a comment *if the shebang is the very first bytes of the file*. With a BOM, the shebang isn't the start of the file, so it's not treated as a comment. You might change the ticket to a feature request.