[Hackage] #856: windows unicode problem with cabal list

Hackage cvs-ghc at haskell.org
Mon Jun 20 18:03:57 CEST 2011

#856: windows unicode problem with cabal list
  Reporter:  guest               |        Owner:          
      Type:  defect              |       Status:  new     
  Priority:  normal              |    Milestone:          
 Component:  cabal-install tool  |      Version:
  Severity:  normal              |     Keywords:          
Difficulty:  unknown             |   Ghcversion:          
  Platform:  Windows             |  

Comment(by duncan):

 Ah ok, so perhaps we should just set that on stdout for the appropriate
 cabal commands. Have to think about what to do for `--simple-output` and
 similar flags designed for machine readable output. Tricky thing is that
 if they're consumed by a program or directed to a file then we almost
 certainly want utf8. If it's printed to the screen then we want the locale
 encoding and the forgiving ??? conversion mode.

 So ideally we'd just set this once in main in cabal & Setup.hs and have
 the machine readable output commands do something special.

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

More information about the cabal-devel mailing list