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

Hackage cvs-ghc at haskell.org
Sun Jun 19 20:26:19 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 batterseapower):

 The default console locale on Windows is CP850 which is most certainly not
 a Unicode superset. Try running "cabal list" from e.g. Cygwin's Mintty in
 a Unicode locale and you should get the right output.

 Perhaps we could change the default CodingFailureMode used to write to
 std{out,err} to TransliterateCodingFailure, which would replace the
 invalid characters with "?". I'm just concerned that this might not be the
 right thing to do for all Haskell programs.

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

More information about the cabal-devel mailing list