[GHC] #9987: GHC refuses to compile a file that starts with a Byte Order Mark (BOM)
GHC
ghc-devs at haskell.org
Wed Jan 14 22:48:37 UTC 2015
#9987: GHC refuses to compile a file that starts with a Byte Order Mark (BOM)
-------------------------------------+-------------------------------------
Reporter: Henk-Jan | Owner:
Type: bug | Status: new
Priority: high | Milestone:
Component: Compiler | Version: 7.10.1-rc1
Keywords: | Operating System: Windows
Architecture: | Type of failure: GHC rejects
Unknown/Multiple | valid program
Test Case: | Blocked By:
Blocking: | Related Tickets:
Differential Revisions: |
-------------------------------------+-------------------------------------
Trying to compile a file that starts with a Byte Order Mark (BOM) results
in the message like:
Camels.hs:1:1: lexical error at character '\65279'
No compilation is done. Note that, if a file is saved as UTF-8, Notepad
adds this BOM to the beginning of the file.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/9987>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list