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

Hackage trac at galois.com
Tue Mar 24 17:51:52 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         |     Keywords:  UTF-8  
Difficulty:  unknown        |   Ghcversion:  6.10.1 
  Platform:  Windows        |  
----------------------------+-----------------------------------------------
 According to
 http://www.haskell.org/ghc/docs/latest/html/Cabal/authors.html , a .cabal
 file should be a Unicode UTF-8 text file; when I change the file to UTF-8
 with notepad, Cabal can not handle it:
 > runhaskell Setup configure
 Setup: xyz.cabal:1: unrecognised field or section: "\65279Name:
 xyz"

 Changing this file back to ANSI solves the problem.

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


More information about the cabal-devel mailing list