[Hackage] #533: Cabal file in UTF-8 format can not be handled by Cabal

Hackage trac at galois.com
Tue Mar 24 19:27:53 EDT 2009


#533: Cabal file in UTF-8 format can not be handled by Cabal
----------------------------+-----------------------------------------------
  Reporter:  guest          |        Owner:         
      Type:  defect         |       Status:  new    
  Priority:  normal         |    Milestone:         
 Component:  Cabal library  |      Version:  1.6.0.2
  Severity:  normal         |   Resolution:         
  Keywords:  UTF-8          |   Difficulty:  unknown
Ghcversion:  6.10.1         |     Platform:  Windows
----------------------------+-----------------------------------------------
Comment (by ross):

 '\65279' = '\xFEFF' = ZERO WIDTH NO-BREAK SPACE = BYTE ORDER MARK, so it
 seems notepad inserts a UTF-encoded BOM at the start of the file.  Cabal
 needs to ignore BOMs.  (They're classified as format characters, not
 spaces, in Unicode.)

-- 
Ticket URL: <http://hackage.haskell.org/trac/hackage/ticket/533#comment:1>
Hackage <http://haskell.org/cabal/>
Hackage: Cabal and related projects


More information about the cabal-devel mailing list