[GHC] #9987: GHC refuses to compile a file that starts with a Byte Order Mark (BOM)

GHC ghc-devs at haskell.org
Thu Jan 15 06:48:07 UTC 2015


#9987: GHC refuses to compile a file that starts with a Byte Order Mark (BOM)
-------------------------------------+-------------------------------------
        Reporter:  Henk-Jan          |                   Owner:
            Type:  feature request   |                  Status:  new
        Priority:  high              |               Milestone:
       Component:  Compiler          |                 Version:  7.10.1-rc1
      Resolution:                    |                Keywords:
Operating System:  Windows           |            Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by hvr):

 * type:  bug => feature request


Comment:

 This is definitely not a bug on GHC's part, but rather on Notepad's.

 BOMs cause many problems when used in UTF8 and are highly discouraged, so
 it should come to no surprise that GHC complains about it.

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9987#comment:1>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list